mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-19 04:51:24 +07:00
testdata fixed
This commit is contained in:
@@ -6,7 +6,7 @@ public class Runner {
|
||||
List<Process> dest = ListUtils.filter(src, new Pred<Process>() {
|
||||
@Override
|
||||
public boolean predicate(Process elem) {
|
||||
<selection><caret>return false; //To change body of implemented methods use File | Settings | File Templates.</selection>
|
||||
<selection><caret>return false;</selection>
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@@ -3,7 +3,6 @@ class Foo {
|
||||
Zzoo l = new Zzoo() {
|
||||
@Override
|
||||
public void run() {
|
||||
<selection>//To change body of implemented methods use File | Settings | File Templates.</selection>
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,7 +3,6 @@ class Foo {
|
||||
Zzoo l = new Zzoo() {
|
||||
@Override
|
||||
public void run() {
|
||||
<selection>//To change body of implemented methods use File | Settings | File Templates.</selection>
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,6 +5,5 @@ interface Foo<T> {
|
||||
public class A implements Foo<String> {
|
||||
@Override
|
||||
public void run(String s, int myInt) {
|
||||
<selection>//To change body of implemented methods use File | Settings | File Templates.</selection>
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,7 +3,6 @@ public class Bar {
|
||||
new Thread(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
<selection>//To change body of implemented methods use File | Settings | File Templates.</selection>
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
@@ -3,27 +3,27 @@ class MyClass {
|
||||
MyDD<String> d = new MyDD<String>() {
|
||||
@Override
|
||||
public int hashCode() {
|
||||
<selection>return super.hashCode(); //To change body of overridden methods use File | Settings | File Templates.</selection>
|
||||
<selection>return super.hashCode();</selection>
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
return super.equals(obj); //To change body of overridden methods use File | Settings | File Templates.
|
||||
return super.equals(obj);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Object clone() throws CloneNotSupportedException {
|
||||
return super.clone(); //To change body of overridden methods use File | Settings | File Templates.
|
||||
return super.clone();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return super.toString(); //To change body of overridden methods use File | Settings | File Templates.
|
||||
return super.toString();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void finalize() throws Throwable {
|
||||
super.finalize(); //To change body of overridden methods use File | Settings | File Templates.
|
||||
super.finalize();
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@ public class Zoo2 {
|
||||
if (run(new Computable<Boolean>() {
|
||||
@Override
|
||||
public Boolean compute() {
|
||||
<selection>return null; //To change body of implemented methods use File | Settings | File Templates.</selection>
|
||||
<selection>return null;</selection>
|
||||
}
|
||||
}))
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@ public class Test1 {
|
||||
Predicate p = new Predicate() {
|
||||
@Override
|
||||
public boolean test(Object o) {
|
||||
<selection>return false; //To change body of implemented methods use File | Settings | File Templates.</selection>
|
||||
<selection>return false;</selection>
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@@ -3,7 +3,6 @@ class C {
|
||||
Runnable r = new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
<selection>//To change body of implemented methods use File | Settings | File Templates.</selection>
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@@ -4,7 +4,6 @@ public class Main {
|
||||
Bar b = new Bar() {
|
||||
@Override
|
||||
void update() {
|
||||
<selection>//To change body of implemented methods use File | Settings | File Templates.</selection>
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@@ -6,7 +6,6 @@ public class Foo {
|
||||
Goo<String> g = new Goo<String>() {
|
||||
@Override
|
||||
void foo() {
|
||||
<selection>//To change body of implemented methods use File | Settings | File Templates.</selection>
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@@ -3,27 +3,27 @@ class A {
|
||||
private static final Function<String, String> a = new Function<String, String>() {
|
||||
@Override
|
||||
public int hashCode() {
|
||||
<selection>return super.hashCode(); //To change body of overridden methods use File | Settings | File Templates.</selection>
|
||||
<selection>return super.hashCode();</selection>
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
return super.equals(obj); //To change body of overridden methods use File | Settings | File Templates.
|
||||
return super.equals(obj);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Object clone() throws CloneNotSupportedException {
|
||||
return super.clone(); //To change body of overridden methods use File | Settings | File Templates.
|
||||
return super.clone();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return super.toString(); //To change body of overridden methods use File | Settings | File Templates.
|
||||
return super.toString();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void finalize() throws Throwable {
|
||||
super.finalize(); //To change body of overridden methods use File | Settings | File Templates.
|
||||
super.finalize();
|
||||
}
|
||||
};
|
||||
}
|
||||
@@ -9,7 +9,7 @@ public class Foo {
|
||||
Collections.sort(myList, new Comparator<String>() {
|
||||
@Override
|
||||
public int compare(String o1, String o2) {
|
||||
<selection>return 0; //To change body of implemented methods use File | Settings | File Templates.</selection>
|
||||
<selection>return 0;</selection>
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@ class Intermediate {
|
||||
new File(".").listFiles(new FilenameFilter() {
|
||||
@Override
|
||||
public boolean accept(File dir, String name) {
|
||||
<selection>return false; //To change body of implemented methods use File | Settings | File Templates.</selection>
|
||||
<selection>return false;</selection>
|
||||
}
|
||||
})
|
||||
SwingUtilities.invokeLater(new Runnable() {
|
||||
|
||||
@@ -5,7 +5,7 @@ class A {
|
||||
{
|
||||
new java.io.File("aaa").list(new FilenameFilter() {
|
||||
public boolean accept(File dir, String name) {
|
||||
<selection>return false; //To change body of implemented methods use File | Settings | File Templates.</selection>
|
||||
<selection>return false;</selection>
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@@ -11,7 +11,6 @@ public class Test {
|
||||
|
||||
@Override
|
||||
void bar() {
|
||||
//To change body of implemented methods use File | Settings | File Templates.
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -31,7 +31,7 @@ class Test {
|
||||
I i4 = flag ? (() -> 42) : new I() {
|
||||
@Override
|
||||
public int m() {
|
||||
return 0; //To change body of implemented methods use File | Settings | File Templates.
|
||||
return 0;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@ class a {
|
||||
g();
|
||||
} catch (Error e) {
|
||||
} catch (Exception e) {
|
||||
<caret><selection>e.printStackTrace(); //To change body of catch statement use File | Settings | File Templates.</selection>
|
||||
<caret><selection>e.printStackTrace();</selection>
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@ class a {
|
||||
g();
|
||||
// comment after
|
||||
} catch (Exception e) {
|
||||
<caret><selection>e.printStackTrace(); //To change body of catch statement use File | Settings | File Templates.</selection>
|
||||
<caret><selection>e.printStackTrace();</selection>
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@ class Test {
|
||||
foo();
|
||||
} catch (MyException1 e) {
|
||||
} catch (MyException2 myException2) {
|
||||
<caret><selection>myException2.printStackTrace(); //To change body of catch statement use File | Settings | File Templates.</selection>
|
||||
<caret><selection>myException2.printStackTrace();</selection>
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -9,7 +9,7 @@ class Test {
|
||||
void m() {
|
||||
try (MyResource r = new MyResource()) {
|
||||
} catch (IOException e) {
|
||||
<selection>e.printStackTrace(); //To change body of catch statement use File | Settings | File Templates.</selection>
|
||||
<selection>e.printStackTrace();</selection>
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -13,7 +13,7 @@ class Test {
|
||||
r.doSomething();
|
||||
} catch (E1 ignore) {
|
||||
} catch (E2 e2) {
|
||||
<selection>e2.printStackTrace(); //To change body of catch statement use File | Settings | File Templates.</selection>
|
||||
<selection>e2.printStackTrace();</selection>
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -11,9 +11,9 @@ class Test {
|
||||
void m() {
|
||||
try (MyResource r = new MyResource()) {
|
||||
} catch (E2 e2) {
|
||||
<selection>e2.printStackTrace(); //To change body of catch statement use File | Settings | File Templates.</selection>
|
||||
<selection>e2.printStackTrace();</selection>
|
||||
} catch (E1 e1) {
|
||||
e1.printStackTrace(); //To change body of catch statement use File | Settings | File Templates.
|
||||
e1.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -12,9 +12,9 @@ class CatchExceptions {
|
||||
try {
|
||||
foo();
|
||||
} catch (FileNotFoundException e) {
|
||||
<selection>e.printStackTrace(); //To change body of catch statement use File | Settings | File Templates.</selection>
|
||||
<selection>e.printStackTrace();</selection>
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace(); //To change body of catch statement use File | Settings | File Templates.
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
// "Add Method Body" "true"
|
||||
class a {
|
||||
void f() {
|
||||
<caret><selection>//To change body of created methods use File | Settings | File Templates.</selection>
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// "Add Method Body" "true"
|
||||
class a {
|
||||
String f() {
|
||||
<caret><selection>return null; //To change body of created methods use File | Settings | File Templates.</selection>
|
||||
<caret><selection>return null;</selection>
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// "Add Method Body" "true"
|
||||
class a {
|
||||
a() {
|
||||
<caret><selection>//To change body of created methods use File | Settings | File Templates.</selection>
|
||||
<caret><selection></selection>
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// "Add Method Body" "true"
|
||||
class a {
|
||||
String f() {
|
||||
<caret><selection>return null; //To change body of created methods use File | Settings | File Templates.</selection>
|
||||
<caret><selection>return null;</selection>
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
class Test {
|
||||
{
|
||||
((Runnable) () -> {
|
||||
//To change body of implemented methods use File | Settings | File Templates.
|
||||
|
||||
}).getClass();;
|
||||
}
|
||||
}
|
||||
@@ -4,7 +4,7 @@ class Test {
|
||||
new Ru<caret>nnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
//To change body of implemented methods use File | Settings | File Templates.
|
||||
|
||||
}
|
||||
}.getClass();;
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@ class Test2 {
|
||||
bar(new I<Stri<caret>ng>() {
|
||||
@Override
|
||||
public String foo(List<String> list) {
|
||||
return null; //To change body of implemented methods use File | Settings | File Templates.
|
||||
return null;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@@ -5,7 +5,6 @@ class a implements Runnable {
|
||||
}
|
||||
|
||||
public void run() {
|
||||
<caret><selection>//To change body of implemented methods use File | Settings | File Templates.</selection>
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -5,7 +5,6 @@ class a implements b<String> {
|
||||
}
|
||||
|
||||
public void g(b<String> t) {
|
||||
<caret><selection>//To change body of implemented methods use File | Settings | File Templates.</selection>
|
||||
}
|
||||
}
|
||||
interface b<T> {
|
||||
|
||||
@@ -10,6 +10,6 @@ class MyCollection {
|
||||
}
|
||||
|
||||
public MyCollection(int i) {
|
||||
<selection>//To change body of created methods use File | Settings | File Templates.</selection>
|
||||
|
||||
}
|
||||
}
|
||||
@@ -7,6 +7,6 @@ public class Test {
|
||||
|
||||
class MyCollection {
|
||||
public MyCollection(Test test) {
|
||||
<selection>//To change body of created methods use File | Settings | File Templates.</selection>
|
||||
|
||||
}
|
||||
}
|
||||
@@ -9,7 +9,7 @@ class Outer {
|
||||
|
||||
class CreateConstructorFromUsage {
|
||||
public CreateConstructorFromUsage(String parameter) {
|
||||
<selection>//To change body of created methods use File | Settings | File Templates.</selection>
|
||||
<selection></selection>
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -7,7 +7,7 @@ class Test {
|
||||
|
||||
class Inner {
|
||||
public Inner(String a) {
|
||||
<caret><selection>//To change body of created methods use File | Settings | File Templates.</selection>
|
||||
<caret><selection></selection>
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2,7 +2,7 @@
|
||||
class Test extends A{
|
||||
|
||||
public Test(String a) {
|
||||
<selection>//To change body of created methods use File | Settings | File Templates.</selection>
|
||||
<selection></selection>
|
||||
}
|
||||
|
||||
public void t() {
|
||||
|
||||
@@ -15,7 +15,7 @@ class Test {
|
||||
|
||||
class A {
|
||||
public A(Exception e) {
|
||||
<selection>//To change body of created methods use File | Settings | File Templates.</selection>
|
||||
<selection></selection>
|
||||
}
|
||||
}
|
||||
class Ex1 extends Exception {}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
class Test extends A{
|
||||
|
||||
public Test(String a) {
|
||||
<selection>//To change body of created methods use File | Settings | File Templates.</selection>
|
||||
<selection></selection>
|
||||
}
|
||||
|
||||
public void t() {
|
||||
|
||||
@@ -3,6 +3,6 @@ public enum ReportType {
|
||||
AGING("Aging");
|
||||
|
||||
ReportType(String aging) {
|
||||
<selection>//To change body of created methods use File | Settings | File Templates.</selection>
|
||||
<selection></selection>
|
||||
}
|
||||
}
|
||||
@@ -3,6 +3,6 @@ public enum ReportType {
|
||||
AGING("Aging"),;
|
||||
|
||||
ReportType(String aging) {
|
||||
<selection>//To change body of created methods use File | Settings | File Templates.</selection>
|
||||
<selection></selection>
|
||||
}
|
||||
}
|
||||
@@ -2,7 +2,7 @@
|
||||
class Test extends A{
|
||||
|
||||
public Test(String a) {
|
||||
<selection>super(a); //To change body of overridden methods use File | Settings | File Templates.</selection>
|
||||
<selection>super(a);</selection>
|
||||
}
|
||||
|
||||
public void t() {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// "Create Constructor In 'Base'" "true"
|
||||
class Base {
|
||||
public Base(int i, Object o) {
|
||||
<selection>//To change body of created methods use File | Settings | File Templates.</selection>
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -5,6 +5,6 @@ public class Test {
|
||||
}
|
||||
|
||||
private void test() {
|
||||
<caret><selection>//To change body of created methods use File | Settings | File Templates.</selection>
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,6 +5,6 @@ public class Test {
|
||||
}
|
||||
|
||||
private void test() {
|
||||
<caret><selection>//To change body of created methods use File | Settings | File Templates.</selection>
|
||||
<caret><selection></selection>
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,6 +5,6 @@ public class Test {
|
||||
}
|
||||
|
||||
private void test() {
|
||||
<caret><selection>//To change body of created methods use File | Settings | File Templates.</selection>
|
||||
<caret><selection></selection>
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,6 +6,6 @@ public class Test {
|
||||
}
|
||||
|
||||
private void test() {
|
||||
<caret><selection>//To change body of created methods use File | Settings | File Templates.</selection>
|
||||
<caret><selection></selection>
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,6 +6,6 @@ public class Test {
|
||||
}
|
||||
|
||||
private void test(byte[] bytes) {
|
||||
<selection>//To change body of created methods use File | Settings | File Templates.</selection>
|
||||
<selection></selection>
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,6 +5,6 @@ class A {
|
||||
}
|
||||
|
||||
private String f() {
|
||||
<selection>return null; //To change body of created methods use File | Settings | File Templates.</selection>
|
||||
<selection>return null;</selection>
|
||||
}
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@ class Sup<T> extends Base<T> {
|
||||
}
|
||||
|
||||
private static <T> Operator<T> makeOp(MetaOperator<T> mop) {
|
||||
<selection>return null; //To change body of created methods use File | Settings | File Templates.</selection>
|
||||
<selection>return null;</selection>
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -5,6 +5,6 @@ public class Test {
|
||||
}
|
||||
|
||||
private <T extends String> void bar(T t1, T t2) {
|
||||
<caret><selection>//To change body of created methods use File | Settings | File Templates.</selection>
|
||||
<caret><selection></selection>
|
||||
}
|
||||
}
|
||||
@@ -5,6 +5,6 @@ public class Test {
|
||||
}
|
||||
|
||||
private boolean test() {
|
||||
<caret><selection>return false; //To change body of created methods use File | Settings | File Templates.</selection>
|
||||
<caret><selection>return false;</selection>
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,6 +8,6 @@ class BrokenCreateMethod {
|
||||
}
|
||||
|
||||
private Map<String, String[]> toMulti(Map<String, String> bar) {
|
||||
<selection>return null; //To change body of created methods use File | Settings | File Templates.</selection>
|
||||
<selection>return null;</selection>
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,6 +5,6 @@ class A {
|
||||
}
|
||||
|
||||
private void f(Object p0) {
|
||||
<caret><selection>//To change body of created methods use File | Settings | File Templates.</selection>
|
||||
<caret><selection></selection>
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ class A {
|
||||
}
|
||||
|
||||
private void f(Object foo) {
|
||||
<selection>//To change body of created methods use File | Settings | File Templates.</selection>
|
||||
<selection></selection>
|
||||
}
|
||||
|
||||
static int foo() {
|
||||
|
||||
@@ -9,6 +9,6 @@ class T<R, D> {
|
||||
|
||||
|
||||
public R foo(Test test, D data) {
|
||||
<selection>return null; //To change body of created methods use File | Settings | File Templates.</selection>
|
||||
<selection>return null;</selection>
|
||||
}
|
||||
}
|
||||
@@ -5,7 +5,7 @@ class A {
|
||||
}
|
||||
|
||||
private <T> B<T> f() {
|
||||
<selection>return null; //To change body of created methods use File | Settings | File Templates.</selection>
|
||||
<selection>return null;</selection>
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -6,6 +6,6 @@ public class CreateMethodTest {
|
||||
}
|
||||
|
||||
private <T> T f(T t) {
|
||||
<selection>return null; //To change body of created methods use File | Settings | File Templates.</selection>
|
||||
<selection>return null;</selection>
|
||||
}
|
||||
}
|
||||
@@ -6,6 +6,6 @@ class A {
|
||||
}
|
||||
|
||||
private String bar() {
|
||||
<caret><selection>return null; //To change body of created methods use File | Settings | File Templates.</selection>
|
||||
<caret><selection>return null;</selection>
|
||||
}
|
||||
}
|
||||
@@ -15,6 +15,6 @@ class Bug {
|
||||
}
|
||||
|
||||
private void run() {
|
||||
<selection>//To change body of created methods use File | Settings | File Templates.</selection>
|
||||
<selection></selection>
|
||||
}
|
||||
}
|
||||
@@ -8,7 +8,7 @@ public class Test {
|
||||
}
|
||||
|
||||
private boolean someMethod(Object o) {
|
||||
<caret><selection>return false; //To change body of created methods use File | Settings | File Templates.</selection>
|
||||
<caret><selection>return false;</selection>
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@@ -10,6 +10,6 @@ class A {
|
||||
}
|
||||
class B {
|
||||
public static void f(Runnable runnable) {
|
||||
<caret><selection>//To change body of created methods use File | Settings | File Templates.</selection>
|
||||
<caret><selection></selection>
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,6 +6,6 @@ class A implements I {
|
||||
}
|
||||
|
||||
private static void f() {
|
||||
<selection>//To change body of created methods use File | Settings | File Templates.</selection>
|
||||
<selection></selection>
|
||||
}
|
||||
}
|
||||
@@ -5,7 +5,7 @@ public class A {
|
||||
}
|
||||
|
||||
private static int f() {
|
||||
<caret><selection>return 0; //To change body of created methods use File | Settings | File Templates.</selection>
|
||||
<caret><selection>return 0;</selection>
|
||||
}
|
||||
|
||||
public A(int i) {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// "Create Method 'get'" "true"
|
||||
class W<T> {
|
||||
public T get(T s) {
|
||||
<selection>return null; //To change body of created methods use File | Settings | File Templates.</selection>
|
||||
<selection>return null;</selection>
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// "Create Method 'get'" "true"
|
||||
class Generic<T> {
|
||||
public T get() {
|
||||
<caret><selection>return null; //To change body of created methods use File | Settings | File Templates.</selection>
|
||||
<caret><selection>return null;</selection>
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ interface Int<T> {
|
||||
|
||||
class A1<T> implements Int<T> {
|
||||
public void foo(Int<T> c) {
|
||||
<caret><selection>//To change body of created methods use File | Settings | File Templates.</selection>
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ class R implements Comparable<R> {
|
||||
|
||||
class A1<T> {
|
||||
public T foo() {
|
||||
<caret><selection>return null; //To change body of created methods use File | Settings | File Templates.</selection>
|
||||
<caret><selection>return null;</selection>
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ public class Seq<T> {
|
||||
public Seq() {}
|
||||
|
||||
public Seq(T x, Seq<T> xs) {
|
||||
<selection>//To change body of created methods use File | Settings | File Templates.</selection>
|
||||
|
||||
}
|
||||
|
||||
static <T> Seq<T> nil () {
|
||||
|
||||
@@ -29,7 +29,7 @@ public class IDEA100452 {
|
||||
|
||||
static class MatchOp<H> {
|
||||
public MatchOp(int i, MatchKind matchKind, Supplier<BooleanTerminalSink<H>> s) {
|
||||
//To change body of created methods use File | Settings | File Templates.
|
||||
|
||||
}
|
||||
|
||||
static enum MatchKind {}
|
||||
|
||||
@@ -29,7 +29,7 @@ public class IDEA100452 {
|
||||
|
||||
static class MatchOp<H> {
|
||||
public MatchOp(int i, MatchKind matchKind, Supplier<BooleanTerminalSink<H>> s) {
|
||||
//To change body of created methods use File | Settings | File Templates.
|
||||
|
||||
}
|
||||
|
||||
static enum MatchKind {}
|
||||
|
||||
@@ -4,7 +4,7 @@ class CCCC {
|
||||
private final static Comparator<String> <caret>TT = new Comparator<String>() {
|
||||
@Override
|
||||
public int compare(String o1, String o2) {
|
||||
return 0; //To change body of implemented methods use File | Settings | File Templates.
|
||||
return 0;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@ class CCCC {
|
||||
private final static Comparator <caret>TT = new Comparator<String>() {
|
||||
@Override
|
||||
public int compare(String o1, String o2) {
|
||||
return 0; //To change body of implemented methods use File | Settings | File Templates.
|
||||
return 0;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@@ -3,7 +3,6 @@ public class X {
|
||||
<caret>final int fi;
|
||||
|
||||
public X(String s) {
|
||||
//To change body of created methods use File | Settings | File Templates.
|
||||
fi = 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -6,6 +6,5 @@ abstract class Test {
|
||||
class TImple extends Test {
|
||||
@Override
|
||||
void foo() {
|
||||
<selection>//To change body of implemented methods use File | Settings | File Templates.</selection>
|
||||
}
|
||||
}
|
||||
@@ -6,6 +6,6 @@ class Test {
|
||||
class TImple extends Test {
|
||||
@Override
|
||||
protected void foo() {
|
||||
<selection>super.foo(); //To change body of overridden methods use File | Settings | File Templates.</selection>
|
||||
<selection>super.foo();</selection>
|
||||
}
|
||||
}
|
||||
@@ -8,6 +8,5 @@ abstract class Test {
|
||||
class TImple extends Test {
|
||||
@Override
|
||||
public void foo(@Nullable String a) {
|
||||
<selection>//To change body of implemented methods use File | Settings | File Templates.</selection>
|
||||
}
|
||||
}
|
||||
@@ -11,7 +11,7 @@ class C {
|
||||
try (MyResource r = new MyResource()) {
|
||||
}
|
||||
} catch (E1 e1) {
|
||||
<selection>e1.printStackTrace(); //To change body of catch statement use File | Settings | File Templates.</selection>
|
||||
<selection>e1.printStackTrace();</selection>
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -9,7 +9,7 @@ public class ExTest {
|
||||
try {
|
||||
return ExTest.maybeThrow(t);
|
||||
} catch (Ex ex) {
|
||||
<selection>ex.printStackTrace(); //To change body of catch statement use File | Settings | File Templates.</selection>
|
||||
<selection>ex.printStackTrace();</selection>
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@ class Test {
|
||||
// This is comment"
|
||||
int i = 1;
|
||||
} catch (Exception e) {
|
||||
<caret><selection>e.printStackTrace(); //To change body of catch statement use File | Settings | File Templates.</selection>
|
||||
<caret><selection>e.printStackTrace();</selection>
|
||||
} finally {
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@ class Test {
|
||||
// This is comment"
|
||||
int i = 1;
|
||||
} catch (Exception e) {
|
||||
<caret><selection>e.printStackTrace(); //To change body of catch statement use File | Settings | File Templates.</selection>
|
||||
<caret><selection>e.printStackTrace();</selection>
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -9,6 +9,6 @@ package com.test;
|
||||
*/
|
||||
public class TestIImpl1 implements TestI {
|
||||
public void test() {
|
||||
//To change body of implemented methods use File | Settings | File Templates.
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,6 +9,6 @@ package com.test;
|
||||
*/
|
||||
public class TestIImpl2 implements TestI {
|
||||
public void test() {
|
||||
//To change body of implemented methods use File | Settings | File Templates.
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,10 +3,10 @@
|
||||
}
|
||||
class d implements ff {
|
||||
public String f() {
|
||||
<caret><selection>return null; //To change body of implemented methods use File | Settings | File Templates.</selection>
|
||||
<caret><selection>return null;</selection>
|
||||
}
|
||||
|
||||
public Class<? extends Annotation> annotationType() {
|
||||
return null; //To change body of implemented methods use File | Settings | File Templates.
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,6 +7,6 @@ class Gen {
|
||||
class X2 extends Gen {
|
||||
@Override
|
||||
protected Gen clone() {
|
||||
<caret><selection>return super.clone(); //To change body of overridden methods use File | Settings | File Templates.</selection>
|
||||
<caret><selection>return super.clone();</selection>
|
||||
}
|
||||
}
|
||||
@@ -10,6 +10,5 @@ interface B<T> extends A<T> {
|
||||
class MyClass<T> implements B<T> {
|
||||
@Override
|
||||
public void m2() {
|
||||
<selection>//To change body of implemented methods use File | Settings | File Templates.</selection>
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,7 +17,6 @@ enum E{
|
||||
E1 {
|
||||
@Override
|
||||
public void foo() {
|
||||
<selection>//To change body of implemented methods use File | Settings | File Templates.</selection>
|
||||
}
|
||||
};
|
||||
public abstract void foo();
|
||||
|
||||
@@ -4,6 +4,6 @@ interface Generic<T> {
|
||||
|
||||
class II implements Generic<?> {
|
||||
public Object foo() {
|
||||
<selection>return null; //To change body of implemented methods use File | Settings | File Templates.</selection>
|
||||
<selection>return null;</selection>
|
||||
}
|
||||
}
|
||||
@@ -5,6 +5,5 @@ interface A<T> {
|
||||
class MyClass<T> implements A<T> {
|
||||
@Override
|
||||
public void m(T t) {
|
||||
<selection>//To change body of implemented methods use File | Settings | File Templates.</selection>
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
class S implements Runnable {
|
||||
public void run() {
|
||||
<caret><selection>//To change body of implemented methods use File | Settings | File Templates.</selection>
|
||||
}
|
||||
}
|
||||
@@ -8,7 +8,7 @@ interface B {
|
||||
|
||||
class C extends A implements B {
|
||||
public F foo() {
|
||||
<selection>return null; //To change body of implemented methods use File | Settings | File Templates.</selection>
|
||||
<selection>return null;</selection>
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -11,6 +11,5 @@ abstract class B implements A{
|
||||
final String pppppppppppp6,
|
||||
final String pppppppppppp7,
|
||||
final String pppppppppppp8) {
|
||||
<caret><selection>//To change body of implemented methods use File | Settings | File Templates.</selection>
|
||||
}
|
||||
}
|
||||
@@ -10,6 +10,5 @@ abstract class B implements A{
|
||||
String p5,
|
||||
String p6,
|
||||
String p7) {
|
||||
<caret><selection>//To change body of implemented methods use File | Settings | File Templates.</selection>
|
||||
}
|
||||
}
|
||||
@@ -11,6 +11,6 @@ interface B
|
||||
class C implements A, B
|
||||
{
|
||||
public String foo() {
|
||||
<selection>return null; //To change body of implemented methods use File | Settings | File Templates.</selection>
|
||||
<selection>return null;</selection>
|
||||
}
|
||||
}
|
||||
@@ -7,6 +7,6 @@ class Sub extends Base {
|
||||
|
||||
@Override
|
||||
void foo() {
|
||||
<caret><selection>super.foo(); //To change body of overridden methods use File | Settings | File Templates.</selection>
|
||||
<caret><selection>super.foo();</selection>
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,35 +5,34 @@ interface A<T> {
|
||||
class MyClass<T> implements A<T> {
|
||||
@Override
|
||||
public void m(T t) {
|
||||
<selection>//To change body of implemented methods use File | Settings | File Templates.</selection>
|
||||
}
|
||||
|
||||
public MyClass() {
|
||||
super(); //To change body of overridden methods use File | Settings | File Templates.
|
||||
super();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return super.hashCode(); //To change body of overridden methods use File | Settings | File Templates.
|
||||
return super.hashCode();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
return super.equals(obj); //To change body of overridden methods use File | Settings | File Templates.
|
||||
return super.equals(obj);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Object clone() throws CloneNotSupportedException {
|
||||
return super.clone(); //To change body of overridden methods use File | Settings | File Templates.
|
||||
return super.clone();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return super.toString(); //To change body of overridden methods use File | Settings | File Templates.
|
||||
return super.toString();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void finalize() throws Throwable {
|
||||
super.finalize(); //To change body of overridden methods use File | Settings | File Templates.
|
||||
super.finalize();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -20,6 +20,5 @@ interface A<T> {
|
||||
class B implements A
|
||||
{
|
||||
public void foo() {
|
||||
<selection>//To change body of implemented methods use File | Settings | File Templates.</selection>
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,6 +5,5 @@ abstract class A1<X>{
|
||||
class B1<T> extends A1<T>{
|
||||
@Override
|
||||
<T1> void foo(T1 t1, T t) {
|
||||
<selection>//To change body of implemented methods use File | Settings | File Templates.</selection>
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,6 +5,6 @@ abstract class IX {
|
||||
class XXC extends IX {
|
||||
@Override
|
||||
void foo() {
|
||||
<caret><selection>super.foo(); //To change body of overridden methods use File | Settings | File Templates.</selection>
|
||||
<caret><selection>super.foo();</selection>
|
||||
}
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user