git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[EGIT PATCH] Remove unnecessary semicolon.

From
RSRoger C. Soares <rogersoares@intelinet.com.br>
Date
Feb 2, 2008, 02:24 UTC
Message-ID
<1201919047-10822-1-git-send-email-rogersoares@intelinet.com.br>
Signed-off-by: Roger C. Soares <rogersoares@intelinet.com.br>
---
 .../egit/core/internal/mapping/GitFileHistory.java |    1 -
 .../src/org/spearce/jgit/lib/GitIndex.java         |    2 +-
 .../org/spearce/jgit/lib/TopologicalWalker.java    |    2 +-
 .../src/org/spearce/jgit/lib/WorkDirCheckout.java  |    2 +-
 4 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/org.spearce.egit.core/src/org/spearce/egit/core/internal/mapping/GitFileHistory.java b/org.spearce.egit.core/src/org/spearce/egit/core/internal/mapping/GitFileHistory.java
index 9e683a5..adf422d 100644
--- a/org.spearce.egit.core/src/org/spearce/egit/core/internal/mapping/GitFileHistory.java
+++ b/org.spearce.egit.core/src/org/spearce/egit/core/internal/mapping/GitFileHistory.java
@@ -232,7 +232,6 @@ public class GitFileHistory extends FileHistory implements IAdaptable {
 					}
 				else
 					activeDiffLeafId = ObjectId.zeroId();
-					;
 			}
 
 			Collection<IFileRevision> githistory;
diff --git a/org.spearce.jgit/src/org/spearce/jgit/lib/GitIndex.java b/org.spearce.jgit/src/org/spearce/jgit/lib/GitIndex.java
index bdcb71a..1fbd7f7 100644
--- a/org.spearce.jgit/src/org/spearce/jgit/lib/GitIndex.java
+++ b/org.spearce.jgit/src/org/spearce/jgit/lib/GitIndex.java
@@ -653,7 +653,7 @@ public class GitIndex {
 			if (updateNeeded)
 				flags |= 0x4000;
 			else
-				flags &= ~0x4000;;
+				flags &= ~0x4000;
 		}
 	}
 
diff --git a/org.spearce.jgit/src/org/spearce/jgit/lib/TopologicalWalker.java b/org.spearce.jgit/src/org/spearce/jgit/lib/TopologicalWalker.java
index 16af0c6..0e937cb 100644
--- a/org.spearce.jgit/src/org/spearce/jgit/lib/TopologicalWalker.java
+++ b/org.spearce.jgit/src/org/spearce/jgit/lib/TopologicalWalker.java
@@ -54,7 +54,7 @@ public class TopologicalWalker extends Walker {
 			super(repostory, starts, relativeResourceName, leafIsBlob,
 					followMainOnly, merges, activeDiffLeafId);
 			this.returnAll = returnAll;
-			topoSorter = new TopologicalSorter<ObjectId>() {;
+			topoSorter = new TopologicalSorter<ObjectId>() {
 				@Override
 				protected boolean filter(ObjectId element) {
 					return returnAll ? true : collected.containsKey(element);
diff --git a/org.spearce.jgit/src/org/spearce/jgit/lib/WorkDirCheckout.java b/org.spearce.jgit/src/org/spearce/jgit/lib/WorkDirCheckout.java
index 6159469..3dde864 100644
--- a/org.spearce.jgit/src/org/spearce/jgit/lib/WorkDirCheckout.java
+++ b/org.spearce.jgit/src/org/spearce/jgit/lib/WorkDirCheckout.java
@@ -124,7 +124,7 @@ public class WorkDirCheckout {
 		}
 	}
 
-	ArrayList<String> conflicts  = new ArrayList<String>();;
+	ArrayList<String> conflicts  = new ArrayList<String>();
 	ArrayList<String> removed = new ArrayList<String>();
 
 	protected Tree head = null;
-- 
1.5.3.7
Next: Robin Rosenberg
Message 1 of 2 in “Remove unnecessary semicolon.”
  1. Remove unnecessary semicolon.Roger C. Soares, Feb 2, 2008
  2. Robin RosenbergFeb 3, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.