rename JetClass.isTrait() to isInterface(); rename ClassKind.TRAIT to INTERACE
This commit is contained in:
+1
-1
@@ -126,7 +126,7 @@ public class SingleAbstractMethodUtils {
|
||||
}
|
||||
|
||||
private static boolean isSamInterface(@NotNull ClassDescriptor klass) {
|
||||
if (klass.getKind() != ClassKind.TRAIT) {
|
||||
if (klass.getKind() != ClassKind.INTERFACE) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user