From 299ea79d667e32ac7a428bf955294bb62093f415 Mon Sep 17 00:00:00 2001 From: "Gary D. Gregory" Date: Fri, 27 Jun 2014 12:35:56 +0000 Subject: [PATCH] Statement unnecessarily nested within else clause. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1606065 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/java/org/apache/commons/lang3/SerializationUtils.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; } } }