Added "@Override" annotation to overrides methods
This commit is contained in:
parent
be66313aaf
commit
cb5f1fc2d8
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue