Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Wolf2016-12-30 07:19:01 -0500
committerThomas Wolf2016-12-30 09:22:33 -0500
commit46bf6862dfe4e77ed8f036a35f5b803a5974c0ab (patch)
tree087c6dff3a5afd08f1e2ec197f5220033a63604a /org.eclipse.egit.core.test/src
parentdb29d255a5a3920b81f16a97dba158688cd4a0d0 (diff)
downloadegit-46bf6862dfe4e77ed8f036a35f5b803a5974c0ab.tar.gz
egit-46bf6862dfe4e77ed8f036a35f5b803a5974c0ab.tar.xz
egit-46bf6862dfe4e77ed8f036a35f5b803a5974c0ab.zip
[findbugs] Resolve ...SHOULD_BE_STATIC warnings
Change-Id: I7e788e5e94e829e84d8d6bb99bb82e5cbb5998f1 Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
Diffstat (limited to 'org.eclipse.egit.core.test/src')
-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
2 files changed, 3 insertions, 3 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;

Back to the top