diff --git a/src/main/java/org/apache/commons/validator/Arg.java b/src/main/java/org/apache/commons/validator/Arg.java index 09cc956ff..9026bc684 100644 --- a/src/main/java/org/apache/commons/validator/Arg.java +++ b/src/main/java/org/apache/commons/validator/Arg.java @@ -77,7 +77,6 @@ public class Arg implements Cloneable, Serializable { public Object clone() { try { return super.clone(); - } catch (final CloneNotSupportedException e) { throw new UnsupportedOperationException(e.toString(), e); } @@ -172,7 +171,6 @@ public void setResource(final boolean resource) { @Override public String toString() { final StringBuilder results = new StringBuilder(); - results.append("Arg: name="); results.append(name); results.append(" key="); @@ -184,7 +182,6 @@ public String toString() { results.append(" resource="); results.append(resource); results.append("\n"); - return results.toString(); }