Add missing @Override tags, add final for member variables where applicable.

This commit is contained in:
Thomas Neidhart 2015-03-16 21:26:05 +01:00
parent 9e26d9933a
commit b7d8801c36
8 changed files with 11 additions and 1 deletions

View File

@ -58,6 +58,7 @@ public class MathArithmeticException extends ArithmeticException
}
/** {@inheritDoc} */
@Override
public ExceptionContext getContext() {
return context;
}

View File

@ -46,6 +46,7 @@ public class MathIllegalArgumentException extends IllegalArgumentException
}
/** {@inheritDoc} */
@Override
public ExceptionContext getContext() {
return context;
}

View File

@ -70,6 +70,7 @@ public class MathIllegalStateException extends IllegalStateException
}
/** {@inheritDoc} */
@Override
public ExceptionContext getContext() {
return context;
}

View File

@ -47,6 +47,7 @@ public class MathRuntimeException extends RuntimeException
}
/** {@inheritDoc} */
@Override
public ExceptionContext getContext() {
return context;
}

View File

@ -54,6 +54,7 @@ public class MathUnsupportedOperationException extends UnsupportedOperationExcep
}
/** {@inheritDoc} */
@Override
public ExceptionContext getContext() {
return context;
}

View File

@ -59,11 +59,12 @@ public class NullArgumentException extends NullPointerException
context = new ExceptionContext(this);
context.addMessage(pattern, arguments);
}
/**
* {@inheritDoc}
* @since 4.0
*/
@Override
public ExceptionContext getContext() {
return context;
}

View File

@ -39,11 +39,13 @@ public class DummyLocalizable implements Localizable {
}
/** {@inheritDoc} */
@Override
public String getSourceString() {
return source;
}
/** {@inheritDoc} */
@Override
public String getLocalizedString(Locale locale) {
return source;
}

View File

@ -379,11 +379,13 @@ public enum LocalizedFormats implements Localizable {
}
/** {@inheritDoc} */
@Override
public String getSourceString() {
return sourceFormat;
}
/** {@inheritDoc} */
@Override
public String getLocalizedString(final Locale locale) {
try {
final String path = LocalizedFormats.class.getName().replaceAll("\\.", "/");