Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Waibel2015-06-01 16:01:51 -0400
committerFlorian Waibel2015-06-01 16:01:51 -0400
commit0b9fb0465bec55860773c559d3d56303ae8f3dc9 (patch)
tree27de873c5b268de94ab1cd3bf78d79b64980b200 /org.eclipse.virgo.shell.command
parent121031ee95abef9c0f56289960fa695f4b3ba2a6 (diff)
downloadorg.eclipse.virgo.kernel-0b9fb0465bec55860773c559d3d56303ae8f3dc9.tar.gz
org.eclipse.virgo.kernel-0b9fb0465bec55860773c559d3d56303ae8f3dc9.tar.xz
org.eclipse.virgo.kernel-0b9fb0465bec55860773c559d3d56303ae8f3dc9.zip
Converts unread fields in JUnit tests to static
Diffstat (limited to 'org.eclipse.virgo.shell.command')
-rw-r--r--org.eclipse.virgo.shell.command/src/test/java/org/eclipse/virgo/shell/internal/converters/StringConverterTests.java2
-rw-r--r--org.eclipse.virgo.shell.command/src/test/java/org/eclipse/virgo/shell/internal/util/PackageHolderTests.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.virgo.shell.command/src/test/java/org/eclipse/virgo/shell/internal/converters/StringConverterTests.java b/org.eclipse.virgo.shell.command/src/test/java/org/eclipse/virgo/shell/internal/converters/StringConverterTests.java
index 75c61c2a..a502c1ea 100644
--- a/org.eclipse.virgo.shell.command/src/test/java/org/eclipse/virgo/shell/internal/converters/StringConverterTests.java
+++ b/org.eclipse.virgo.shell.command/src/test/java/org/eclipse/virgo/shell/internal/converters/StringConverterTests.java
@@ -31,7 +31,7 @@ import org.junit.Test;
*/
public class StringConverterTests {
- private final String testString = "formattedString";
+ private static final String testString = "formattedString";
/**
* Test method for {@link StringConverter#getTypes()}.
diff --git a/org.eclipse.virgo.shell.command/src/test/java/org/eclipse/virgo/shell/internal/util/PackageHolderTests.java b/org.eclipse.virgo.shell.command/src/test/java/org/eclipse/virgo/shell/internal/util/PackageHolderTests.java
index a63481b0..628d4cb3 100644
--- a/org.eclipse.virgo.shell.command/src/test/java/org/eclipse/virgo/shell/internal/util/PackageHolderTests.java
+++ b/org.eclipse.virgo.shell.command/src/test/java/org/eclipse/virgo/shell/internal/util/PackageHolderTests.java
@@ -30,7 +30,7 @@ import org.eclipse.virgo.shell.stubs.StubQuasiImportPackage;
*/
public class PackageHolderTests {
- private final String TEST_PACKAGE_NAME = "test.package";
+ private static final String TEST_PACKAGE_NAME = "test.package";
private PackageHolder standardQuasiPackage;

Back to the top