Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.egit.core.test/src/org/eclipse/egit/core/internal/indexdiff/IndexDiffCacheEntryTest.java2
-rw-r--r--org.eclipse.egit.core.test/src/org/eclipse/egit/core/internal/merge/VariantsTestCase.java4
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/revision/GitCompareFileRevisionEditorInput.java2
3 files changed, 4 insertions, 4 deletions
diff --git a/org.eclipse.egit.core.test/src/org/eclipse/egit/core/internal/indexdiff/IndexDiffCacheEntryTest.java b/org.eclipse.egit.core.test/src/org/eclipse/egit/core/internal/indexdiff/IndexDiffCacheEntryTest.java
index 9e239c9dc..7e3cd298f 100644
--- a/org.eclipse.egit.core.test/src/org/eclipse/egit/core/internal/indexdiff/IndexDiffCacheEntryTest.java
+++ b/org.eclipse.egit.core.test/src/org/eclipse/egit/core/internal/indexdiff/IndexDiffCacheEntryTest.java
@@ -243,7 +243,7 @@ public class IndexDiffCacheEntryTest extends GitTestCase {
super.tearDown();
}
- class IndexDiffCacheEntry2 extends IndexDiffCacheEntry {
+ private static class IndexDiffCacheEntry2 extends IndexDiffCacheEntry {
boolean reloadScheduled;
diff --git a/org.eclipse.egit.core.test/src/org/eclipse/egit/core/internal/merge/VariantsTestCase.java b/org.eclipse.egit.core.test/src/org/eclipse/egit/core/internal/merge/VariantsTestCase.java
index dfb545bb8..0aa62d3d2 100644
--- a/org.eclipse.egit.core.test/src/org/eclipse/egit/core/internal/merge/VariantsTestCase.java
+++ b/org.eclipse.egit.core.test/src/org/eclipse/egit/core/internal/merge/VariantsTestCase.java
@@ -31,9 +31,9 @@ import org.junit.After;
import org.junit.Before;
public abstract class VariantsTestCase extends GitTestCase {
- protected final String INITIAL_CONTENT_1 = "some content for the first file";
+ protected static final String INITIAL_CONTENT_1 = "some content for the first file";
- protected final String INITIAL_CONTENT_2 = "some content for the second file";
+ protected static final String INITIAL_CONTENT_2 = "some content for the second file";
protected static final String MASTER = Constants.R_HEADS + Constants.MASTER;
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/revision/GitCompareFileRevisionEditorInput.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/revision/GitCompareFileRevisionEditorInput.java
index bcde8d75b..bef8d195b 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/revision/GitCompareFileRevisionEditorInput.java
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/revision/GitCompareFileRevisionEditorInput.java
@@ -502,7 +502,7 @@ public class GitCompareFileRevisionEditorInput extends SaveableCompareEditorInpu
}
}
- private class OpenWorkspaceVersionAction extends Action {
+ private static class OpenWorkspaceVersionAction extends Action {
private final ISelectionProvider selectionProvider;

Back to the top