diff --git a/src/main/java/org/apache/commons/lang3/SerializationUtils.java b/src/main/java/org/apache/commons/lang3/SerializationUtils.java index d29592be0..b65413b64 100644 --- a/src/main/java/org/apache/commons/lang3/SerializationUtils.java +++ b/src/main/java/org/apache/commons/lang3/SerializationUtils.java @@ -328,9 +328,8 @@ public class SerializationUtils { final Class cls = primitiveTypes.get(name); if (cls != null) { return cls; - } else { - throw cnfe; } + throw cnfe; } } }