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} */
|
/** {@inheritDoc} */
|
||||||
|
@Override
|
||||||
public ExceptionContext getContext() {
|
public ExceptionContext getContext() {
|
||||||
return context;
|
return context;
|
||||||
}
|
}
|
||||||
|
|
|
@ -46,6 +46,7 @@ public class MathIllegalArgumentException extends IllegalArgumentException
|
||||||
}
|
}
|
||||||
|
|
||||||
/** {@inheritDoc} */
|
/** {@inheritDoc} */
|
||||||
|
@Override
|
||||||
public ExceptionContext getContext() {
|
public ExceptionContext getContext() {
|
||||||
return context;
|
return context;
|
||||||
}
|
}
|
||||||
|
|
|
@ -70,6 +70,7 @@ public class MathIllegalStateException extends IllegalStateException
|
||||||
}
|
}
|
||||||
|
|
||||||
/** {@inheritDoc} */
|
/** {@inheritDoc} */
|
||||||
|
@Override
|
||||||
public ExceptionContext getContext() {
|
public ExceptionContext getContext() {
|
||||||
return context;
|
return context;
|
||||||
}
|
}
|
||||||
|
|
|
@ -47,6 +47,7 @@ public class MathRuntimeException extends RuntimeException
|
||||||
}
|
}
|
||||||
|
|
||||||
/** {@inheritDoc} */
|
/** {@inheritDoc} */
|
||||||
|
@Override
|
||||||
public ExceptionContext getContext() {
|
public ExceptionContext getContext() {
|
||||||
return context;
|
return context;
|
||||||
}
|
}
|
||||||
|
|
|
@ -54,6 +54,7 @@ public class MathUnsupportedOperationException extends UnsupportedOperationExcep
|
||||||
}
|
}
|
||||||
|
|
||||||
/** {@inheritDoc} */
|
/** {@inheritDoc} */
|
||||||
|
@Override
|
||||||
public ExceptionContext getContext() {
|
public ExceptionContext getContext() {
|
||||||
return context;
|
return context;
|
||||||
}
|
}
|
||||||
|
|
|
@ -59,11 +59,12 @@ public class NullArgumentException extends NullPointerException
|
||||||
context = new ExceptionContext(this);
|
context = new ExceptionContext(this);
|
||||||
context.addMessage(pattern, arguments);
|
context.addMessage(pattern, arguments);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritDoc}
|
* {@inheritDoc}
|
||||||
* @since 4.0
|
* @since 4.0
|
||||||
*/
|
*/
|
||||||
|
@Override
|
||||||
public ExceptionContext getContext() {
|
public ExceptionContext getContext() {
|
||||||
return context;
|
return context;
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,11 +39,13 @@ public class DummyLocalizable implements Localizable {
|
||||||
}
|
}
|
||||||
|
|
||||||
/** {@inheritDoc} */
|
/** {@inheritDoc} */
|
||||||
|
@Override
|
||||||
public String getSourceString() {
|
public String getSourceString() {
|
||||||
return source;
|
return source;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** {@inheritDoc} */
|
/** {@inheritDoc} */
|
||||||
|
@Override
|
||||||
public String getLocalizedString(Locale locale) {
|
public String getLocalizedString(Locale locale) {
|
||||||
return source;
|
return source;
|
||||||
}
|
}
|
||||||
|
|
|
@ -379,11 +379,13 @@ public enum LocalizedFormats implements Localizable {
|
||||||
}
|
}
|
||||||
|
|
||||||
/** {@inheritDoc} */
|
/** {@inheritDoc} */
|
||||||
|
@Override
|
||||||
public String getSourceString() {
|
public String getSourceString() {
|
||||||
return sourceFormat;
|
return sourceFormat;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** {@inheritDoc} */
|
/** {@inheritDoc} */
|
||||||
|
@Override
|
||||||
public String getLocalizedString(final Locale locale) {
|
public String getLocalizedString(final Locale locale) {
|
||||||
try {
|
try {
|
||||||
final String path = LocalizedFormats.class.getName().replaceAll("\\.", "/");
|
final String path = LocalizedFormats.class.getName().replaceAll("\\.", "/");
|
||||||
|
|
Loading…
Reference in New Issue