IDE testdata: s/trait/interface

This commit is contained in:
Dmitry Jemerov
2015-05-12 20:39:44 +02:00
parent 99cad4b43f
commit 625096466e
698 changed files with 1049 additions and 1049 deletions
@@ -1,4 +1,4 @@
trait T {
interface T {
fun foo(a:Int = 1)
}
@@ -1,4 +1,4 @@
trait T {
interface T {
fun foo(a:Int = 1)
}
@@ -1,4 +1,4 @@
trait T {
interface T {
fun foo()
fun bar()
}
@@ -1,4 +1,4 @@
trait T {
interface T {
fun foo()
fun bar()
}
@@ -1,5 +1,5 @@
// From KT-1254
trait T {
interface T {
fun Foo() : (String) -> Unit
}
@@ -1,5 +1,5 @@
// From KT-1254
trait T {
interface T {
fun Foo() : (String) -> Unit
}
@@ -1,6 +1,6 @@
package foo
trait KotlinTrait {
interface KotlinTrait {
fun bar(price : String?)
}
@@ -1,5 +1,5 @@
// From KT-1254
trait T {
interface T {
fun Foo() : (String) -> Unit
}
@@ -1,5 +1,5 @@
// From KT-1254
trait T {
interface T {
fun Foo() : (String) -> Unit
}
@@ -1,5 +1,5 @@
// From KT-1648
trait A {
interface A {
val method:() -> Unit?
}
@@ -1,5 +1,5 @@
// From KT-1648
trait A {
interface A {
val method:() -> Unit?
}
@@ -1,4 +1,4 @@
trait Trait {
interface Trait {
fun <A, B : Runnable, E : Map.Entry<A, B>> foo() where B : Cloneable, B : Comparable<B>;
}
@@ -1,4 +1,4 @@
trait Trait {
interface Trait {
fun <A, B : Runnable, E : Map.Entry<A, B>> foo() where B : Cloneable, B : Comparable<B>;
}
@@ -1,6 +1,6 @@
package something
trait Some<T> {
interface Some<T> {
fun someFoo()
fun someOtherFoo() : Int
fun someGenericFoo() : T
@@ -1,6 +1,6 @@
package something
trait Some<T> {
interface Some<T> {
fun someFoo()
fun someOtherFoo() : Int
fun someGenericFoo() : T
@@ -1,4 +1,4 @@
trait G<T> {
interface G<T> {
fun foo(t : T) : T
}
@@ -1,4 +1,4 @@
trait G<T> {
interface G<T> {
fun foo(t : T) : T
}
@@ -4,7 +4,7 @@ open class A() {
public open fun publicFun() {}
}
trait B {
interface B {
protected open val protectedProperty : Int
internal open val internalProperty : Int
public open val publicProperty : Int
@@ -4,7 +4,7 @@ open class A() {
public open fun publicFun() {}
}
trait B {
interface B {
protected open val protectedProperty : Int
internal open val internalProperty : Int
public open val publicProperty : Int
@@ -1,4 +1,4 @@
trait A {
interface A {
fun foo(value : String) : Int = 0
fun bar() : String = "hello"
}
@@ -1,4 +1,4 @@
trait A {
interface A {
fun foo(value : String) : Int = 0
fun bar() : String = "hello"
}
@@ -2,7 +2,7 @@ open class A {
open fun foo() {}
}
trait B {
interface B {
fun bar()
}
@@ -2,7 +2,7 @@ open class A {
open fun foo() {}
}
trait B {
interface B {
fun bar()
}
@@ -1,4 +1,4 @@
trait A {
interface A {
fun String.foo()
}
@@ -1,4 +1,4 @@
trait A {
interface A {
fun String.foo()
}
@@ -1,4 +1,4 @@
trait A {
interface A {
val String.prop : Int
}
@@ -1,4 +1,4 @@
trait A {
interface A {
val String.prop : Int
}
@@ -1,4 +1,4 @@
trait Some {
interface Some {
fun foo()
}
@@ -1,4 +1,4 @@
trait Some {
interface Some {
fun foo()
}
@@ -1,4 +1,4 @@
trait Some {
interface Some {
fun foo()
}
@@ -1,4 +1,4 @@
trait Some {
interface Some {
fun foo()
}
@@ -1,4 +1,4 @@
trait Some {
interface Some {
fun foo()
}
@@ -1,4 +1,4 @@
trait Some {
interface Some {
fun foo()
}
@@ -1,4 +1,4 @@
trait A<T> {
interface A<T> {
fun foo(value : T) : Unit = println(value)
}
@@ -1,4 +1,4 @@
trait A<T> {
interface A<T> {
fun foo(value : T) : Unit = println(value)
}
@@ -1,4 +1,4 @@
trait A {
interface A {
var Int.foo : Double
}
@@ -1,4 +1,4 @@
trait A {
interface A {
var Int.foo : Double
}
@@ -1,4 +1,4 @@
trait A {
interface A {
fun foo(value : String) : Int = 0
}
@@ -1,4 +1,4 @@
trait A {
interface A {
fun foo(value : String) : Int = 0
}
@@ -1,4 +1,4 @@
trait T {
interface T {
val a1: Byte
val a2: Short
val a3: Int
@@ -1,4 +1,4 @@
trait T {
interface T {
val a1: Byte
val a2: Short
val a3: Int
@@ -1,4 +1,4 @@
trait A {
interface A {
fun foo(value : String) : Unit = 0
}
@@ -1,4 +1,4 @@
trait A {
interface A {
fun foo(value : String) : Unit = 0
}
@@ -1,5 +1,5 @@
package foo
public trait Foo {
public interface Foo {
fun f(): Any
}
@@ -1,4 +1,4 @@
trait T {
interface T {
val v : Int
}
@@ -1,4 +1,4 @@
trait T {
interface T {
val v : Int
}
@@ -1,4 +1,4 @@
trait Test {
interface Test {
public open fun test()
protected open val testProp : Int
}
@@ -1,4 +1,4 @@
trait Test {
interface Test {
public open fun test()
protected open val testProp : Int
}
@@ -4,6 +4,6 @@ package lib
public class Array {
}
public trait ArrayFactory {
public interface ArrayFactory {
fun create() : Array
}
@@ -1,6 +1,6 @@
class C<T : C<T>>
trait Base {
interface Base {
fun foo(c: C<*>)
}
@@ -1,6 +1,6 @@
class C<T : C<T>>
trait Base {
interface Base {
fun foo(c: C<*>)
}
@@ -1,4 +1,4 @@
trait G<T> {
interface G<T> {
fun foo(t : T) : T
}
@@ -1,4 +1,4 @@
trait G<T> {
interface G<T> {
fun foo(t : T) : T
}
@@ -1,4 +1,4 @@
trait Some {
interface Some {
fun foo(some : Int?) : Int
}
@@ -1,4 +1,4 @@
trait Some {
interface Some {
fun foo(some : Int?) : Int
}