Avoid unnecessary semicolons
Done via batch cleanup with Source -> Clean-up -> Remove redundant
semicolons
Change-Id: I84fdb2b42b2ce16a16ff5216ecb4fa89ea007046
Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
diff --git a/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/views/IndexPart.java b/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/views/IndexPart.java
index 2c1bc1a..20c1a39 100644
--- a/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/views/IndexPart.java
+++ b/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/views/IndexPart.java
@@ -103,7 +103,7 @@
public String getSeeString(IIndexSee see) {
String seeText = see.isSeeAlso() ? Messages.SeeAlso : Messages.See;
String message = NLS.bind(seeText, see.getKeyword());
- String[] path = IndexUtils.getPath(see);;
+ String[] path = IndexUtils.getPath(see);
for (int i = 1; i < path.length; i++) {
message = NLS.bind(Messages.SeeList, message,path[i]);
}
diff --git a/org.eclipse.help.webapp/src/org/eclipse/help/internal/webapp/data/UrlUtil.java b/org.eclipse.help.webapp/src/org/eclipse/help/internal/webapp/data/UrlUtil.java
index b24570c..00db762 100644
--- a/org.eclipse.help.webapp/src/org/eclipse/help/internal/webapp/data/UrlUtil.java
+++ b/org.eclipse.help.webapp/src/org/eclipse/help/internal/webapp/data/UrlUtil.java
@@ -180,7 +180,7 @@
prefix = ""; //$NON-NLS-1$
for (int d = 0; d < depth; d++) {
prefix += "../"; //$NON-NLS-1$
- };
+ }
prefix += "topic"; //$NON-NLS-1$
return prefix;
}
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 61a726c..c675f34 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
@@ -200,7 +200,7 @@
createWsetWithAllTocs(mgr, "test1a");
WorkingSetScope scope = new WorkingSetScope("test1a", mgr, "scope");
Toc[] tocs = HelpPlugin.getTocManager().getTocs(Platform.getNL());
- for (Toc toc : tocs) {;
+ for (Toc toc : tocs) {
ITopic[] topics = toc.getTopics();
for (ITopic topic : topics) {
assertTrue(scope.inScope(topic));
@@ -214,7 +214,7 @@
createWsetWithAllTocs(mgr, "test1b");
WorkingSetScope scope = new WorkingSetScope("test1b", mgr, "scope");
Toc[] tocs = HelpPlugin.getTocManager().getTocs(Platform.getNL());
- for (Toc toc : tocs) {;
+ for (Toc toc : tocs) {
ITopic[] topics = toc.getTopics();
for (ITopic topic : topics) {
ITopic[] subtopics = topic.getSubtopics();