Added "@Override" annotation to overrides methods

This commit is contained in:
teo_sarca 2007-06-23 18:57:17 +00:00
parent be66313aaf
commit cb5f1fc2d8
3 changed files with 6 additions and 0 deletions

View File

@ -89,6 +89,7 @@ public final class MDocDate extends PlainDocument implements CaretListener
* @param attr attributes
* @throws BadLocationException
*/
@Override
public void insertString (int offset, String string, AttributeSet attr)
throws BadLocationException
{
@ -166,6 +167,7 @@ public final class MDocDate extends PlainDocument implements CaretListener
* @param length length
* @throws BadLocationException
*/
@Override
public void remove (int offset, int length)
throws BadLocationException
{

View File

@ -84,6 +84,7 @@ public final class MDocNumber extends PlainDocument
* @param attr
* @throws BadLocationException
*/
@Override
public void insertString(int origOffset, String string, AttributeSet attr)
throws BadLocationException
{
@ -220,6 +221,7 @@ public final class MDocNumber extends PlainDocument
* @param length length
* @throws BadLocationException
*/
@Override
public void remove (int origOffset, int length)
throws BadLocationException
{

View File

@ -126,6 +126,7 @@ public final class MDocString extends PlainDocument implements CaretListener
* @param attr
* @throws BadLocationException
*/
@Override
public void insertString(int offset, String string, AttributeSet attr)
throws BadLocationException
{
@ -277,6 +278,7 @@ public final class MDocString extends PlainDocument implements CaretListener
* @param length
* @throws BadLocationException
*/
@Override
public void remove (int offset, int length)
throws BadLocationException
{