mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-25 14:25:04 +07:00
testdata fixed
This commit is contained in:
@@ -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>
|
||||
}
|
||||
}
|
||||
-1
@@ -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>
|
||||
}
|
||||
}
|
||||
-1
@@ -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>
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -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>
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
-1
@@ -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>
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -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>
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -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>
|
||||
}
|
||||
}
|
||||
|
||||
+6
-7
@@ -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>
|
||||
}
|
||||
}
|
||||
|
||||
-1
@@ -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>
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ interface Generic<T> {
|
||||
|
||||
class II implements Generic<Object> {
|
||||
public SomeGeneric<?> foo() {
|
||||
<selection>return null; //To change body of implemented methods use File | Settings | File Templates.</selection>
|
||||
<selection>return null;</selection>
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
-1
@@ -21,6 +21,5 @@ abstract class A<T> {
|
||||
|
||||
@Override
|
||||
<S extends Throwable> void foo(S s) {
|
||||
<selection>//To change body of implemented methods use File | Settings | File Templates.</selection>
|
||||
}
|
||||
}
|
||||
|
||||
-1
@@ -5,6 +5,5 @@ abstract class IX<T> {
|
||||
class XXC<S> extends IX<Throwable> {
|
||||
@Override
|
||||
<S extends Throwable> void foo() {
|
||||
<caret><selection>//To change body of implemented methods use File | Settings | File Templates.</selection>
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,6 +6,6 @@ class f{
|
||||
class ff extends f {
|
||||
@Override
|
||||
String foo() {
|
||||
<selection>return super.foo(); //To change body of overridden methods use File | Settings | File Templates.</selection>
|
||||
<selection>return super.foo();</selection>
|
||||
}
|
||||
}
|
||||
@@ -4,6 +4,5 @@ interface Function<S> {
|
||||
|
||||
class Bar extends Function<String>{
|
||||
public void fun(Function<String> function) {
|
||||
<selection>//To change body of implemented methods use File | Settings | File Templates.</selection>
|
||||
}
|
||||
}
|
||||
@@ -4,6 +4,6 @@ interface Function<S, R> {
|
||||
|
||||
class Bar extends Function<String, ?>{
|
||||
public Object fun(String s) {
|
||||
<selection>return null; //To change body of implemented methods use File | Settings | File Templates.</selection>
|
||||
<selection>return null;</selection>
|
||||
}
|
||||
}
|
||||
@@ -4,6 +4,6 @@
|
||||
class d implements ff {
|
||||
<caret>
|
||||
public Class<? extends Annotation> annotationType() {
|
||||
return null; //To change body of implemented methods use File | Settings | File Templates.
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user