commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r1158757 - /commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/dump/DumpArchiveInputStream.java
Date Wed, 17 Aug 2011 14:59:14 GMT
Author: bodewig
Date: Wed Aug 17 14:59:14 2011
New Revision: 1158757

URL: http://svn.apache.org/viewvc?rev=1158757&view=rev
Log:
labeled break is not needed, there is only one loop.  COMPRESS-132

Modified:
    commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/dump/DumpArchiveInputStream.java

Modified: commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/dump/DumpArchiveInputStream.java
URL: http://svn.apache.org/viewvc/commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/dump/DumpArchiveInputStream.java?rev=1158757&r1=1158756&r2=1158757&view=diff
==============================================================================
--- commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/dump/DumpArchiveInputStream.java
(original)
+++ commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/dump/DumpArchiveInputStream.java
Wed Aug 17 14:59:14 2011
@@ -372,12 +372,10 @@ public class DumpArchiveInputStream exte
         Stack<String> elements = new Stack<String>();
         Dirent dirent = null;
 
-outer: 
         for (int i = entry.getIno();; i = dirent.getParentIno()) {
             if (!names.containsKey(i)) {
                 elements.clear();
-
-                break outer;
+                break;
             }
 
             dirent = names.get(i);



Mime
View raw message