DORMANTno replies

[EGIT PATCH 1/4] Add private modifier for private variables in the FindToolbar.

From: Roger C. Soares <hidden>
Date: 2016-06-15 22:44:25
Subsystem: the rest · Maintainer: Linus Torvalds

I overlooked this when doing the find toolbar. Fixing now.

Signed-off-by: Roger C. Soares <redacted>
---
Hi Robin,

Here goes some more patches for your review. Currently they are on top of the last
patches I sent you.

Patch 4/4 is the one that shows only the commits in the current branch. I don't see me
going through Shawn's new machinery soon, so I'm just sending what I have today as a 
starting point for the feature.

[]s,
Roger.

 .../src/org/spearce/egit/ui/FindToolbar.java       |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/org.spearce.egit.ui/src/org/spearce/egit/ui/FindToolbar.java b/org.spearce.egit.ui/src/org/spearce/egit/ui/FindToolbar.java
index 5527453..3d2472c 100644
--- a/org.spearce.egit.ui/src/org/spearce/egit/ui/FindToolbar.java
+++ b/org.spearce.egit.ui/src/org/spearce/egit/ui/FindToolbar.java
@@ -65,27 +65,27 @@ public class FindToolbar extends Composite {
 	 */
 	public final FindResults findResults = new FindResults();
 
-	Preferences prefs = Activator.getDefault().getPluginPreferences();
+	private Preferences prefs = Activator.getDefault().getPluginPreferences();
 
-	List<Listener> eventList = new ArrayList<Listener>();
+	private List<Listener> eventList = new ArrayList<Listener>();
 
 	private Image nextIcon;
 
 	private Image previousIcon;
 
-	Table historyTable;
+	private Table historyTable;
 
-	List<IFileRevision> fileRevisions;
+	private List<IFileRevision> fileRevisions;
 
-	Text patternField;
+	private Text patternField;
 
-	Button nextButton;
+	private Button nextButton;
 
-	Button previousButton;
+	private Button previousButton;
 
-	Label currentPositionLabel;
+	private Label currentPositionLabel;
 
-	ProgressBar progressBar;
+	private ProgressBar progressBar;
 
 	private String lastErrorPattern;
 
-- 
1.5.4.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help