mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +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>
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
-1
@@ -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>
|
||||
}
|
||||
}
|
||||
|
||||
-1
@@ -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>
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
+5
-5
@@ -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();
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
+1
-1
@@ -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>
|
||||
}
|
||||
}))
|
||||
}
|
||||
|
||||
+1
-1
@@ -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>
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
-1
@@ -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>
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
-1
@@ -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>
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
+5
-5
@@ -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();
|
||||
}
|
||||
};
|
||||
}
|
||||
+1
-1
@@ -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>
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user