mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-13 09:19:13 +07:00
Double semicolons cleanup
This commit is contained in:
+2
-2
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2016 JetBrains s.r.o.
|
||||
* Copyright 2000-2017 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -168,7 +168,7 @@ public class ImplementAbstractMethodHandler {
|
||||
if (!inheritor.isInterface() || PsiUtil.isLanguageLevel8OrHigher(inheritor)) {
|
||||
final PsiSubstitutor classSubstitutor = TypeConversionUtil.getClassSubstitutor(psiClass, inheritor, PsiSubstitutor.EMPTY);
|
||||
PsiMethod method = classSubstitutor != null ? MethodSignatureUtil.findMethodBySignature(inheritor, myMethod.getSignature(classSubstitutor), true)
|
||||
: inheritor.findMethodBySignature(myMethod, true);;
|
||||
: inheritor.findMethodBySignature(myMethod, true);
|
||||
if (method == null || !psiClass.equals(method.getContainingClass())) continue;
|
||||
list.add(inheritor);
|
||||
}
|
||||
|
||||
+1
-1
@@ -3,6 +3,6 @@ class Test {
|
||||
{
|
||||
((Runnable) () -> {
|
||||
|
||||
}).getClass();;
|
||||
}).getClass();
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -6,6 +6,6 @@ class Test {
|
||||
public void run() {
|
||||
|
||||
}
|
||||
}.getClass();;
|
||||
}.getClass();
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
public class Client {
|
||||
public void bar() {
|
||||
GenericType<Integer> list = new Server().foo();
|
||||
System.out.println("list = " + list);;
|
||||
System.out.println("list = " + list);
|
||||
}
|
||||
|
||||
public static void main(String[] args){
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2015 JetBrains s.r.o.
|
||||
* Copyright 2000-2017 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -330,7 +330,7 @@ public abstract class HTMLComposerImpl extends HTMLComposer {
|
||||
|
||||
@Override
|
||||
public void appendNoProblems(StringBuffer buf) {
|
||||
buf.append("<p class=\"problem-description-group\">");;
|
||||
buf.append("<p class=\"problem-description-group\">");
|
||||
buf.append(InspectionsBundle.message("inspection.export.results.no.problems.found"));
|
||||
buf.append("</p>");
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2016 JetBrains s.r.o.
|
||||
* Copyright 2000-2017 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -515,7 +515,7 @@ public class PsiUtilCore {
|
||||
append(" length=").append(file.getLength());
|
||||
sb.append("\nproject=").append(project.getName()).
|
||||
append(" default=").append(project.isDefault()).
|
||||
append(" open=").append(project.isOpen());;
|
||||
append(" open=").append(project.isOpen());
|
||||
sb.append("\nfileType=").append(fileType.getName()).append("/").append(fileType.getClass().getName());
|
||||
sb.append("\nisIgnored=").append(ignored);
|
||||
sb.append(" underIgnored=").append(indexFacade.isUnderIgnored(file));
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2012 JetBrains s.r.o.
|
||||
* Copyright 2000-2017 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -30,7 +30,7 @@ import java.awt.*;
|
||||
|
||||
public class CheckboxTreeBase extends Tree {
|
||||
private final CheckboxTreeHelper myHelper;
|
||||
private final EventDispatcher<CheckboxTreeListener> myEventDispatcher = EventDispatcher.create(CheckboxTreeListener.class);;
|
||||
private final EventDispatcher<CheckboxTreeListener> myEventDispatcher = EventDispatcher.create(CheckboxTreeListener.class);
|
||||
|
||||
public CheckboxTreeBase() {
|
||||
this(new CheckboxTreeCellRendererBase(), null);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2016 JetBrains s.r.o.
|
||||
* Copyright 2000-2017 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -226,7 +226,7 @@ public class SmoothScrollPane extends JScrollPane {
|
||||
public void setCurrentValue(int value) {
|
||||
super.setValue(value);
|
||||
|
||||
myAdjuster.reset();;
|
||||
myAdjuster.reset();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
+3
-3
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2015 JetBrains s.r.o.
|
||||
* Copyright 2000-2017 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -100,7 +100,7 @@ public class LightFileTemplatesTest extends LightPlatformTestCase {
|
||||
assertNotNull(myTemplateManager.getTemplate("foo.txt"));
|
||||
|
||||
File foo = PlatformTestCase.createTempDir("foo");
|
||||
final Project project = ProjectManager.getInstance().createProject("foo", foo.getPath());;
|
||||
final Project project = ProjectManager.getInstance().createProject("foo", foo.getPath());
|
||||
try {
|
||||
assertNotNull(project);
|
||||
assertNotNull(FileTemplateManager.getInstance(project).getTemplate("foo.txt"));
|
||||
@@ -143,7 +143,7 @@ public class LightFileTemplatesTest extends LightPlatformTestCase {
|
||||
|
||||
public void testAddRemoveShared() throws Exception {
|
||||
File foo = PlatformTestCase.createTempDir("foo");
|
||||
final Project project = ProjectManager.getInstance().createProject("foo", foo.getPath());;
|
||||
final Project project = ProjectManager.getInstance().createProject("foo", foo.getPath());
|
||||
try {
|
||||
assertNotNull(project);
|
||||
FileTemplateManager manager = FileTemplateManager.getInstance(project);
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2016 JetBrains s.r.o.
|
||||
* Copyright 2000-2017 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -24,7 +24,7 @@ public class ReplaceStaticImportFixTest extends IGQuickFixesTestCase {
|
||||
protected void setUp() throws Exception {
|
||||
super.setUp();
|
||||
myFixture.enableInspections(new StaticImportInspection());
|
||||
myDefaultHint = InspectionGadgetsBundle.message("static.import.replace.quickfix");;
|
||||
myDefaultHint = InspectionGadgetsBundle.message("static.import.replace.quickfix");
|
||||
myRelativePath = "imports/static_import";
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2015 JetBrains s.r.o.
|
||||
* Copyright 2000-2017 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -87,7 +87,7 @@ final class ValidationResultImpl extends CommandLineVisitor implements Validatio
|
||||
myOptions.put(optionName, option);
|
||||
}
|
||||
}
|
||||
myUnusedOptions.putAll(myOptions);;
|
||||
myUnusedOptions.putAll(myOptions);
|
||||
myCommand = command;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2016 JetBrains s.r.o.
|
||||
* Copyright 2000-2017 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -234,7 +234,7 @@ public class FStringParser {
|
||||
|
||||
private ParseResult(@NotNull List<Integer> singleRightBraces, @NotNull List<Fragment> fragments) {
|
||||
mySingleRightBraces = singleRightBraces;
|
||||
myFragments = ContainerUtil.sorted(fragments, (f1, f2) -> f1.getLeftBraceOffset() - f2.getLeftBraceOffset());;
|
||||
myFragments = ContainerUtil.sorted(fragments, (f1, f2) -> f1.getLeftBraceOffset() - f2.getLeftBraceOffset());
|
||||
}
|
||||
|
||||
@NotNull
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2013 JetBrains s.r.o.
|
||||
* Copyright 2000-2017 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -103,7 +103,7 @@ public class IteratorsTest extends TestCase {
|
||||
public void testToStringDoesntExhaustIterator() {
|
||||
final ChainIterable<String> initial = new ChainIterable<>();
|
||||
initial.addItem("foo");
|
||||
assertEquals("foo", initial.toString());;
|
||||
assertEquals("foo", initial.toString());
|
||||
assertEquals("foo", initial.toString());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user