Add missing @Override tags, add final for member variables where applicable.
This commit is contained in:
parent
9e26d9933a
commit
b7d8801c36
|
@ -58,6 +58,7 @@ public class MathArithmeticException extends ArithmeticException
|
|||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public ExceptionContext getContext() {
|
||||
return context;
|
||||
}
|
||||
|
|
|
@ -46,6 +46,7 @@ public class MathIllegalArgumentException extends IllegalArgumentException
|
|||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public ExceptionContext getContext() {
|
||||
return context;
|
||||
}
|
||||
|
|
|
@ -70,6 +70,7 @@ public class MathIllegalStateException extends IllegalStateException
|
|||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public ExceptionContext getContext() {
|
||||
return context;
|
||||
}
|
||||
|
|
|
@ -47,6 +47,7 @@ public class MathRuntimeException extends RuntimeException
|
|||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public ExceptionContext getContext() {
|
||||
return context;
|
||||
}
|
||||
|
|
|
@ -54,6 +54,7 @@ public class MathUnsupportedOperationException extends UnsupportedOperationExcep
|
|||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public ExceptionContext getContext() {
|
||||
return context;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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("\\.", "/");
|
||||
|
|
Loading…
Reference in New Issue