Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndre Weinand2003-07-29 05:52:54 -0400
committerAndre Weinand2003-07-29 05:52:54 -0400
commitd81653321038881d597654e3c4d822ed46205229 (patch)
treee2805e0ec4e1b7a65e51452b32a80a154053e25c
parent8cf6e4c257ace460c0850a10ef9421ccb660e586 (diff)
downloadeclipse.platform.team-d81653321038881d597654e3c4d822ed46205229.tar.gz
eclipse.platform.team-d81653321038881d597654e3c4d822ed46205229.tar.xz
eclipse.platform.team-d81653321038881d597654e3c4d822ed46205229.zip
fixed compiler warningsv20030729
-rw-r--r--tests/org.eclipse.compare.tests/JUnit Tests/org/eclipse/compare/tests/AllTests.java2
-rw-r--r--tests/org.eclipse.compare.tests/JUnit Tests/org/eclipse/compare/tests/DocLineComparatorTest.java12
2 files changed, 7 insertions, 7 deletions
diff --git a/tests/org.eclipse.compare.tests/JUnit Tests/org/eclipse/compare/tests/AllTests.java b/tests/org.eclipse.compare.tests/JUnit Tests/org/eclipse/compare/tests/AllTests.java
index 59bc66d51..657015c90 100644
--- a/tests/org.eclipse.compare.tests/JUnit Tests/org/eclipse/compare/tests/AllTests.java
+++ b/tests/org.eclipse.compare.tests/JUnit Tests/org/eclipse/compare/tests/AllTests.java
@@ -15,7 +15,7 @@ import junit.framework.TestSuite;
public class AllTests {
public static Test suite() {
- TestSuite suite= new TestSuite("Test for org.eclipse.compare.tests");
+ TestSuite suite= new TestSuite("Test for org.eclipse.compare.tests"); //$NON-NLS-1$
//$JUnit-BEGIN$
suite.addTestSuite(DocLineComparatorTest.class);
//$JUnit-END$
diff --git a/tests/org.eclipse.compare.tests/JUnit Tests/org/eclipse/compare/tests/DocLineComparatorTest.java b/tests/org.eclipse.compare.tests/JUnit Tests/org/eclipse/compare/tests/DocLineComparatorTest.java
index a69c0a2fe..c353798f6 100644
--- a/tests/org.eclipse.compare.tests/JUnit Tests/org/eclipse/compare/tests/DocLineComparatorTest.java
+++ b/tests/org.eclipse.compare.tests/JUnit Tests/org/eclipse/compare/tests/DocLineComparatorTest.java
@@ -32,10 +32,10 @@ public class DocLineComparatorTest extends TestCase {
public void testRangesEqual() {
IDocument doc1= new Document();
- doc1.set("if (s.strip))");
+ doc1.set("if (s.strip))"); //$NON-NLS-1$
IDocument doc2= new Document();
- doc2.set("if (s.strip)");
+ doc2.set("if (s.strip)"); //$NON-NLS-1$
IRangeComparator comp1= new DocLineComparator(doc1, null, true);
IRangeComparator comp2= new DocLineComparator(doc2, null, true);
@@ -45,10 +45,10 @@ public class DocLineComparatorTest extends TestCase {
public void testWhitespaceAtEnd() {
IDocument doc1= new Document();
- doc1.set("if (s.strip))");
+ doc1.set("if (s.strip))"); //$NON-NLS-1$
IDocument doc2= new Document();
- doc2.set("if (s.strip)) ");
+ doc2.set("if (s.strip)) "); //$NON-NLS-1$
IRangeComparator comp1= new DocLineComparator(doc1, null, true);
IRangeComparator comp2= new DocLineComparator(doc2, null, true);
@@ -58,10 +58,10 @@ public class DocLineComparatorTest extends TestCase {
public void testEmpty() {
IDocument doc1= new Document();
- doc1.set("");
+ doc1.set(""); //$NON-NLS-1$
IDocument doc2= new Document();
- doc2.set(" ");
+ doc2.set(" "); //$NON-NLS-1$
IRangeComparator comp1= new DocLineComparator(doc1, null, true);
IRangeComparator comp2= new DocLineComparator(doc2, null, true);

Back to the top