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

[EGIT PATCH 1/6] Comment some empty blocks that should be empty

From
Robin Rosenberg <robin.rosenberg@dewire.com>
Date
Feb 5, 2008, 00:15 UTC
Message-ID
<1202170534-15788-2-git-send-email-robin.rosenberg@dewire.com>
In-Reply-To
<1202170534-15788-1-git-send-email-robin.rosenberg@dewire.com>
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
---
 .../src/org/spearce/egit/core/test/Activator.java  |    1 +
 .../internal/actions/AbstractOperationAction.java  |    1 +
 .../egit/ui/internal/dialogs/CommitDialog.java     |    3 +++
 .../ui/internal/preferences/GitPreferencePage.java |    1 +
 .../spearce/jgit/lib/AbstractIndexTreeVisitor.java |    4 ++++
 .../org/spearce/jgit/lib/TopologicalSorter.java    |    1 +
 6 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/org.spearce.egit.core.test/src/org/spearce/egit/core/test/Activator.java b/org.spearce.egit.core.test/src/org/spearce/egit/core/test/Activator.java
index 9807c84..10d7d94 100644
--- a/org.spearce.egit.core.test/src/org/spearce/egit/core/test/Activator.java
+++ b/org.spearce.egit.core.test/src/org/spearce/egit/core/test/Activator.java
@@ -18,6 +18,7 @@ public class Activator extends Plugin {
 	 * The constructor
 	 */
 	public Activator() {
+		// Empty
 	}
 
 	/*
diff --git a/org.spearce.egit.ui/src/org/spearce/egit/ui/internal/actions/AbstractOperationAction.java b/org.spearce.egit.ui/src/org/spearce/egit/ui/internal/actions/AbstractOperationAction.java
index c3f347e..0e96323 100644
--- a/org.spearce.egit.ui/src/org/spearce/egit/ui/internal/actions/AbstractOperationAction.java
+++ b/org.spearce.egit.ui/src/org/spearce/egit/ui/internal/actions/AbstractOperationAction.java
@@ -73,6 +73,7 @@ public abstract class AbstractOperationAction implements IObjectActionDelegate {
 	 * A method to invoke when the operation is finished.
 	 */
 	protected void postOperation() {
+		// Empty
 	}
 
 	public void run(final IAction act) {
diff --git a/org.spearce.egit.ui/src/org/spearce/egit/ui/internal/dialogs/CommitDialog.java b/org.spearce.egit.ui/src/org/spearce/egit/ui/internal/dialogs/CommitDialog.java
index 3778b94..064a2dc 100644
--- a/org.spearce.egit.ui/src/org/spearce/egit/ui/internal/dialogs/CommitDialog.java
+++ b/org.spearce.egit.ui/src/org/spearce/egit/ui/internal/dialogs/CommitDialog.java
@@ -212,6 +212,7 @@ public class CommitDialog extends Dialog {
 			}
 		
 			public void widgetDefaultSelected(SelectionEvent arg0) {
+				// Empty
 			}
 		});
 		
@@ -242,9 +243,11 @@ public class CommitDialog extends Dialog {
 
 			public void inputChanged(Viewer viewer, Object oldInput,
 					Object newInput) {
+				// Empty
 			}
 
 			public void dispose() {
+				// Empty
 			}
 
 			public Object[] getElements(Object inputElement) {
diff --git a/org.spearce.egit.ui/src/org/spearce/egit/ui/internal/preferences/GitPreferencePage.java b/org.spearce.egit.ui/src/org/spearce/egit/ui/internal/preferences/GitPreferencePage.java
index 780375b..8e6d3f3 100644
--- a/org.spearce.egit.ui/src/org/spearce/egit/ui/internal/preferences/GitPreferencePage.java
+++ b/org.spearce.egit.ui/src/org/spearce/egit/ui/internal/preferences/GitPreferencePage.java
@@ -36,5 +36,6 @@ public class GitPreferencePage extends PreferencePage implements
 	}
 
 	public void init(final IWorkbench workbench) {
+		// Empty
 	}
 }
diff --git a/org.spearce.jgit/src/org/spearce/jgit/lib/AbstractIndexTreeVisitor.java b/org.spearce.jgit/src/org/spearce/jgit/lib/AbstractIndexTreeVisitor.java
index 40b42dd..6f5ede4 100644
--- a/org.spearce.jgit/src/org/spearce/jgit/lib/AbstractIndexTreeVisitor.java
+++ b/org.spearce.jgit/src/org/spearce/jgit/lib/AbstractIndexTreeVisitor.java
@@ -31,17 +31,21 @@ import org.spearce.jgit.lib.GitIndex.Entry;
 public class AbstractIndexTreeVisitor implements IndexTreeVisitor {
 	public void finishVisitTree(Tree tree, Tree auxTree, int i, String curDir)
 			throws IOException {
+		// Empty
 	}
 
 	public void finishVisitTree(Tree tree, int i, String curDir)
 			throws IOException {
+		// Empty
 	}
 
 	public void visitEntry(TreeEntry treeEntry, Entry indexEntry, File file)
 			throws IOException {
+		// Empty
 	}
 
 	public void visitEntry(TreeEntry treeEntry, TreeEntry auxEntry,
 			Entry indexEntry, File file) throws IOException {
+		// Empty
 	}
 }
diff --git a/org.spearce.jgit/src/org/spearce/jgit/lib/TopologicalSorter.java b/org.spearce.jgit/src/org/spearce/jgit/lib/TopologicalSorter.java
index 7b59490..c33334e 100644
--- a/org.spearce.jgit/src/org/spearce/jgit/lib/TopologicalSorter.java
+++ b/org.spearce.jgit/src/org/spearce/jgit/lib/TopologicalSorter.java
@@ -292,6 +292,7 @@ public class TopologicalSorter<T> {
 		private int number = -1;
 
 		Lane() {
+			// Empty
 		}
 
 		@Override
-- 
1.5.4.rc4.25.g81cc
Previous: Robin RosenbergNext: Robin Rosenberg
Message 2 of 13 in “Cleanups and javadocs”
  1. Cleanups and javadocsRobin Rosenberg, Feb 5, 2008
  2. 1/6 Comment some empty blocks that should be emptyRobin Rosenberg, Feb 5, 2008
  3. 2/6 Cleanup unboxing/boxingRobin Rosenberg, Feb 5, 2008
  4. 3/6 Do not require javadoc in egit.core test projectRobin Rosenberg, Feb 5, 2008
  5. 4/6 Javadoc update for EgitRobin Rosenberg, Feb 5, 2008
  6. 5/6 Drop unused GitBlobStorage classRobin Rosenberg, Feb 5, 2008
  7. 6/6 Tighten requirements on javadoc.Robin Rosenberg, Feb 5, 2008
  8. Shawn O. PearceFeb 6, 2008
  9. 1/2 Use Boolean.valueOf instead of new BooleanRobin Rosenberg, Feb 6, 2008
  10. 2/2 Use Integer.valueOf instead of new IntegerRobin Rosenberg, Feb 6, 2008
  11. Roger C. SoaresFeb 8, 2008
  12. Roger C. SoaresFeb 5, 2008
  13. Robin RosenbergFeb 5, 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.