diff options
author | Lars Vogel | 2020-01-08 10:59:28 +0000 |
---|---|---|
committer | Lars Vogel | 2020-01-08 10:59:28 +0000 |
commit | 1c5a16f4134649638261fd34819cc135621ef641 (patch) | |
tree | a1725bfb89e8ed4b4b57b493708084450766ed1e | |
parent | e7247c25b9c7c10ede03ce20fbaa387c789c2aa3 (diff) | |
download | eclipse.platform.ua-1c5a16f4134649638261fd34819cc135621ef641.tar.gz eclipse.platform.ua-1c5a16f4134649638261fd34819cc135621ef641.tar.xz eclipse.platform.ua-1c5a16f4134649638261fd34819cc135621ef641.zip |
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>
3 files changed, 4 insertions, 4 deletions
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 2c1bc1a4c..20c1a3942 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 class IndexPart extends HyperlinkTreePart implements IHelpUIConstants { 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 b24570c43..00db762ef 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 @@ public class UrlUtil { 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 61a726c86..c675f3469 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 @@ public class WorkingSetManagerTest { 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 @@ public class WorkingSetManagerTest { 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(); |