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
|
* @param attr attributes
|
||||||
* @throws BadLocationException
|
* @throws BadLocationException
|
||||||
*/
|
*/
|
||||||
|
@Override
|
||||||
public void insertString (int offset, String string, AttributeSet attr)
|
public void insertString (int offset, String string, AttributeSet attr)
|
||||||
throws BadLocationException
|
throws BadLocationException
|
||||||
{
|
{
|
||||||
|
@ -166,6 +167,7 @@ public final class MDocDate extends PlainDocument implements CaretListener
|
||||||
* @param length length
|
* @param length length
|
||||||
* @throws BadLocationException
|
* @throws BadLocationException
|
||||||
*/
|
*/
|
||||||
|
@Override
|
||||||
public void remove (int offset, int length)
|
public void remove (int offset, int length)
|
||||||
throws BadLocationException
|
throws BadLocationException
|
||||||
{
|
{
|
||||||
|
|
|
@ -84,6 +84,7 @@ public final class MDocNumber extends PlainDocument
|
||||||
* @param attr
|
* @param attr
|
||||||
* @throws BadLocationException
|
* @throws BadLocationException
|
||||||
*/
|
*/
|
||||||
|
@Override
|
||||||
public void insertString(int origOffset, String string, AttributeSet attr)
|
public void insertString(int origOffset, String string, AttributeSet attr)
|
||||||
throws BadLocationException
|
throws BadLocationException
|
||||||
{
|
{
|
||||||
|
@ -220,6 +221,7 @@ public final class MDocNumber extends PlainDocument
|
||||||
* @param length length
|
* @param length length
|
||||||
* @throws BadLocationException
|
* @throws BadLocationException
|
||||||
*/
|
*/
|
||||||
|
@Override
|
||||||
public void remove (int origOffset, int length)
|
public void remove (int origOffset, int length)
|
||||||
throws BadLocationException
|
throws BadLocationException
|
||||||
{
|
{
|
||||||
|
|
|
@ -126,6 +126,7 @@ public final class MDocString extends PlainDocument implements CaretListener
|
||||||
* @param attr
|
* @param attr
|
||||||
* @throws BadLocationException
|
* @throws BadLocationException
|
||||||
*/
|
*/
|
||||||
|
@Override
|
||||||
public void insertString(int offset, String string, AttributeSet attr)
|
public void insertString(int offset, String string, AttributeSet attr)
|
||||||
throws BadLocationException
|
throws BadLocationException
|
||||||
{
|
{
|
||||||
|
@ -277,6 +278,7 @@ public final class MDocString extends PlainDocument implements CaretListener
|
||||||
* @param length
|
* @param length
|
||||||
* @throws BadLocationException
|
* @throws BadLocationException
|
||||||
*/
|
*/
|
||||||
|
@Override
|
||||||
public void remove (int offset, int length)
|
public void remove (int offset, int length)
|
||||||
throws BadLocationException
|
throws BadLocationException
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue