Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2019-06-17 12:55:25 +0000
committerKarsten Thoms2019-06-19 11:18:18 +0000
commit82913642da8f106a68b173b19d0116440f0acda9 (patch)
tree0f6415ed7081d6ccb401938820a3075e9fa18eca /org.eclipse.ua.tests/help
parent938f3da91a80c25271db7e75366cb732a37b65ec (diff)
downloadeclipse.platform.ua-82913642da8f106a68b173b19d0116440f0acda9.tar.gz
eclipse.platform.ua-82913642da8f106a68b173b19d0116440f0acda9.tar.xz
eclipse.platform.ua-82913642da8f106a68b173b19d0116440f0acda9.zip
Removes redundant semicolons
Change-Id: Ib1df421973d20b6675656b7f63083390ee5a4234 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
Diffstat (limited to 'org.eclipse.ua.tests/help')
-rw-r--r--org.eclipse.ua.tests/help/org/eclipse/ua/tests/help/other/ConcurrentTocAccess.java2
-rw-r--r--org.eclipse.ua.tests/help/org/eclipse/ua/tests/help/search/InfocenterWorkingSetManagerTest.java30
-rw-r--r--org.eclipse.ua.tests/help/org/eclipse/ua/tests/help/search/WorkingSetManagerTest.java30
-rw-r--r--org.eclipse.ua.tests/help/org/eclipse/ua/tests/help/toc/UaTestTocProvider.java2
4 files changed, 32 insertions, 32 deletions
diff --git a/org.eclipse.ua.tests/help/org/eclipse/ua/tests/help/other/ConcurrentTocAccess.java b/org.eclipse.ua.tests/help/org/eclipse/ua/tests/help/other/ConcurrentTocAccess.java
index 23fb1264c..a79f0123f 100644
--- a/org.eclipse.ua.tests/help/org/eclipse/ua/tests/help/other/ConcurrentTocAccess.java
+++ b/org.eclipse.ua.tests/help/org/eclipse/ua/tests/help/other/ConcurrentTocAccess.java
@@ -93,7 +93,7 @@ public class ConcurrentTocAccess {
private class BadHrefException extends RuntimeException {
private static final long serialVersionUID = 410319402417607912L;
- };
+ }
private class BadLabelException extends RuntimeException {
private static final long serialVersionUID = -4581518572807575035L;
}
diff --git a/org.eclipse.ua.tests/help/org/eclipse/ua/tests/help/search/InfocenterWorkingSetManagerTest.java b/org.eclipse.ua.tests/help/org/eclipse/ua/tests/help/search/InfocenterWorkingSetManagerTest.java
index cf700f708..62b604396 100644
--- a/org.eclipse.ua.tests/help/org/eclipse/ua/tests/help/search/InfocenterWorkingSetManagerTest.java
+++ b/org.eclipse.ua.tests/help/org/eclipse/ua/tests/help/search/InfocenterWorkingSetManagerTest.java
@@ -50,7 +50,7 @@ public class InfocenterWorkingSetManagerTest {
AdaptableHelpResource[] resources = readWsets[0].getElements();
assertEquals(1, resources.length);
assertTrue(resources[0].equals(toc));
- };
+ }
@Test
public void testSaveRestoreIWSMWithToc() throws IOException {
@@ -72,7 +72,7 @@ public class InfocenterWorkingSetManagerTest {
assertTrue(resources[0].equals(toc));
checkCookies(resp);
checkCookies(resp2);
- };
+ }
@Test
public void testIWSMWithOneTopic() throws IOException {
@@ -92,7 +92,7 @@ public class InfocenterWorkingSetManagerTest {
topics.add(topic1);
assertTrue(topics.contains(resources[0]));
checkCookies(resp);
- };
+ }
@Test
public void testIWSMWithTwoTopics() throws IOException {
@@ -116,7 +116,7 @@ public class InfocenterWorkingSetManagerTest {
assertTrue(topics.contains(resources[0]));
assertTrue(topics.contains(resources[1]));
checkCookies(resp);
- };
+ }
@Test
public void testIWSMWithThreeTopics() throws IOException {
@@ -145,7 +145,7 @@ public class InfocenterWorkingSetManagerTest {
assertTrue(topics.contains(resources[1]));
assertTrue(topics.contains(resources[2]));
checkCookies(resp);
- };
+ }
@Test
public void testSaveRestoreIWSMWithOneTopic() throws IOException {
@@ -172,7 +172,7 @@ public class InfocenterWorkingSetManagerTest {
assertTrue(topics.contains(resources[0]));
checkCookies(resp);
checkCookies(resp2);
- };
+ }
@Test
public void testSaveRestoreIWSMWithTwoTopics() throws IOException {
@@ -202,7 +202,7 @@ public class InfocenterWorkingSetManagerTest {
assertTrue(topics.contains(resources[1]));
checkCookies(resp);
checkCookies(resp2);
- };
+ }
@Test
public void testSaveRestoreIWSMWithThreeTopics() throws IOException {
@@ -236,7 +236,7 @@ public class InfocenterWorkingSetManagerTest {
assertTrue(topics.contains(resources[2]));
checkCookies(resp);
checkCookies(resp2);
- };
+ }
@Test
public void testIWSMWithMultipleWsets() throws IOException {
@@ -262,7 +262,7 @@ public class InfocenterWorkingSetManagerTest {
assertEquals(1, resourcesT4.length);
assertEquals(topic3, resourcesT4[0]);
checkCookies(resp);
- };
+ }
/**
* Verify that adding a second topic in the same toc only adds 4 more bytes to the cookie size
@@ -290,7 +290,7 @@ public class InfocenterWorkingSetManagerTest {
assertEquals(length1 + 4, length2);
checkCookies(resp1);
checkCookies(resp2);
- };
+ }
private int cookieLength(Cookie[] cookies) {
int total = 0;
@@ -331,7 +331,7 @@ public class InfocenterWorkingSetManagerTest {
assertEquals(topic3, resourcesT4[0]);
checkCookies(resp);
checkCookies(resp2);
- };
+ }
@Test
public void testIWSMWithCriteria() throws IOException {
@@ -351,7 +351,7 @@ public class InfocenterWorkingSetManagerTest {
CriterionResource[] readResources = readWsets[0].getCriteria();
assertEquals(1, readResources.length);
checkCookies(resp);
- };
+ }
@Test
public void testSaveRestoreIWSMWithMCriteria() throws IOException {
@@ -378,7 +378,7 @@ public class InfocenterWorkingSetManagerTest {
assertEquals(1, readResources.length);
checkCookies(resp);
checkCookies(resp2);
- };
+ }
@Test
public void testIWSMWithMultipleCriteria() throws IOException {
@@ -400,7 +400,7 @@ public class InfocenterWorkingSetManagerTest {
CriterionResource[] readResources = readWsets[0].getCriteria();
checkResourceWithTwoChildren(readResources);
checkCookies(resp);
- };
+ }
@Test
public void testSaveRestoreIWSMWithMultipleCriteria() throws IOException {
@@ -456,7 +456,7 @@ public class InfocenterWorkingSetManagerTest {
criteria[1].addCriterionValue("linux");
criteria[1].addCriterionValue("MacOS");
return criteria;
- };
+ }
private void checkCookies(MockServletResponse resp) {
String illegalChars = resp.getIllegalCharatersFound();
diff --git a/org.eclipse.ua.tests/help/org/eclipse/ua/tests/help/search/WorkingSetManagerTest.java b/org.eclipse.ua.tests/help/org/eclipse/ua/tests/help/search/WorkingSetManagerTest.java
index d03d7d8a6..90e4ec34f 100644
--- a/org.eclipse.ua.tests/help/org/eclipse/ua/tests/help/search/WorkingSetManagerTest.java
+++ b/org.eclipse.ua.tests/help/org/eclipse/ua/tests/help/search/WorkingSetManagerTest.java
@@ -88,7 +88,7 @@ public class WorkingSetManagerTest {
AdaptableHelpResource[] resources = readWsets[0].getElements();
assertEquals(1, resources.length);
assertTrue(resources[0].equals(toc));
- };
+ }
@Test
public void testWSMWithTocContainsThatToc() {
@@ -101,7 +101,7 @@ public class WorkingSetManagerTest {
mgr.addWorkingSet(wset);
WorkingSetScope scope = new WorkingSetScope("test", mgr, "scope");
assertTrue(scope.inScope(tocs[0]));
- };
+ }
@Test
public void testWSMWithTocContainsNoOtherToc() {
@@ -116,7 +116,7 @@ public class WorkingSetManagerTest {
for (int i = 1; i < tocs.length; i++) {
assertFalse(scope.inScope(tocs[i]));
}
- };
+ }
@Test
public void testWSMWithTocContainsThatTocsTopics() {
@@ -134,7 +134,7 @@ public class WorkingSetManagerTest {
assertFalse(scope.inScope(topic));
}
}
- };
+ }
@Test
public void testWSMWithTocContainsNoOtherTocsTopics() {
@@ -150,7 +150,7 @@ public class WorkingSetManagerTest {
for (ITopic topic : topics) {
assertTrue(scope.inScope(topic));
}
- };
+ }
@Test
public void testSaveRestoreWSMWithToc() {
@@ -167,7 +167,7 @@ public class WorkingSetManagerTest {
AdaptableHelpResource[] resources = readWsets[0].getElements();
assertEquals(1, resources.length);
assertTrue(resources[0].equals(toc));
- };
+ }
@Test
public void testSaveRestoreWSMWithAllTocs() {
@@ -234,7 +234,7 @@ public class WorkingSetManagerTest {
}
wset.setElements(tocList.toArray(new AdaptableToc[0]));
mgr.addWorkingSet(wset);
- };
+ }
@Test
public void testWSMWithTopics() {
@@ -258,7 +258,7 @@ public class WorkingSetManagerTest {
assertEquals(topic1, resources[1]);
assertNotSame(topic3, resources[1]);
}
- };
+ }
@Test
public void testSaveRestoreWSMWithTopics() {
@@ -284,7 +284,7 @@ public class WorkingSetManagerTest {
assertEquals(topic1, resources[1]);
assertNotSame(topic3, resources[1]);
}
- };
+ }
@Test
public void testWSMWithMultipleWsets() {
@@ -307,7 +307,7 @@ public class WorkingSetManagerTest {
AdaptableHelpResource[] resourcesT4 = mgr.getWorkingSet("test4").getElements();
assertEquals(1, resourcesT4.length);
assertEquals(topic3, resourcesT4[0]);
- };
+ }
@Test
public void testSaveRestoreWSMWithMultipleWsets() {
@@ -333,7 +333,7 @@ public class WorkingSetManagerTest {
AdaptableHelpResource[] resourcesT4 = mgr2.getWorkingSet("test4").getElements();
assertEquals(1, resourcesT4.length);
assertEquals(topic3, resourcesT4[0]);
- };
+ }
@Test
public void testWSMWithCriteria() {
@@ -350,7 +350,7 @@ public class WorkingSetManagerTest {
assertEquals(1, readWsets.length);
CriterionResource[] readResources = readWsets[0].getCriteria();
assertEquals(1, readResources.length);
- };
+ }
@Test
public void testSaveRestoreWSMWithMCriteria() {
@@ -371,7 +371,7 @@ public class WorkingSetManagerTest {
assertEquals(1, readWsets.length);
CriterionResource[] readResources = readWsets[0].getCriteria();
assertEquals(1, readResources.length);
- };
+ }
@Test
public void testWSMWithMultipleCriteria() {
@@ -390,7 +390,7 @@ public class WorkingSetManagerTest {
assertEquals(1, readWsets.length);
CriterionResource[] readResources = readWsets[0].getCriteria();
checkResourceWithTwoChildren(readResources);
- };
+ }
@Test
public void testSaveRestoreWSMWithMultipleCriteria() {
@@ -441,6 +441,6 @@ public class WorkingSetManagerTest {
criteria[1].addCriterionValue("linux");
criteria[1].addCriterionValue("MacOS");
return criteria;
- };
+ }
}
diff --git a/org.eclipse.ua.tests/help/org/eclipse/ua/tests/help/toc/UaTestTocProvider.java b/org.eclipse.ua.tests/help/org/eclipse/ua/tests/help/toc/UaTestTocProvider.java
index e67ff43f1..b105da359 100644
--- a/org.eclipse.ua.tests/help/org/eclipse/ua/tests/help/toc/UaTestTocProvider.java
+++ b/org.eclipse.ua.tests/help/org/eclipse/ua/tests/help/toc/UaTestTocProvider.java
@@ -68,7 +68,7 @@ public class UaTestTocProvider extends AbstractTocProvider {
return false;
}
- };
+ }
public UaTestTocProvider() {
toc = new UserToc("Generated Toc", null, true);

Back to the top