From fec5e2dc3d9e620c13a24c954ebc9233248d00f1 Mon Sep 17 00:00:00 2001 From: "Gary D. Gregory" Date: Mon, 1 Jan 2007 22:03:58 +0000 Subject: [PATCH] Statement unnecessarily nested within else clause. The corresponding then clause does not complete normally. git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@491653 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/commons/lang/text/StrTokenizer.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/java/org/apache/commons/lang/text/StrTokenizer.java b/src/java/org/apache/commons/lang/text/StrTokenizer.java index ae080dc92..9b8b5ecd2 100644 --- a/src/java/org/apache/commons/lang/text/StrTokenizer.java +++ b/src/java/org/apache/commons/lang/text/StrTokenizer.java @@ -1117,9 +1117,8 @@ public class StrTokenizer implements ListIterator, Cloneable { public String toString() { if (tokens == null) { return "StrTokenizer[not tokenized yet]"; - } else { - return "StrTokenizer" + getTokenList(); } + return "StrTokenizer" + getTokenList(); } }