]> source.dussan.org Git - jgit.git/commitdiff
GC: Remove unnecessary continue statement 79/116779/1
authorHector Caballero <hector.caballero@ericsson.com>
Tue, 30 Jan 2018 01:39:16 +0000 (20:39 -0500)
committerHector Caballero <hector.caballero@ericsson.com>
Tue, 6 Feb 2018 11:24:40 +0000 (06:24 -0500)
continue is unnecessary when it is the last statement in a loop

Signed-off-by: Hector Oswaldo Caballero <hector.caballero@ericsson.com>
Change-Id: I12af9f9a0bb2fd7fc0239f1f3b59fb8e64e1f351

org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/GC.java

index 6df09fbb32ae2beb8e71f8a47f1b048cd6915340..dce95e1fbd55bf8c2f024f1153cc833f6a6b0eeb 100644 (file)
@@ -586,7 +586,6 @@ public class GC {
                                        } catch (IllegalArgumentException notAnObject) {
                                                // ignoring the file that does not represent loose
                                                // object
-                                               continue;
                                        }
                                }
                        }