Redundant modality modifier inspection #KT-11450 Fixed

This commit is contained in:
Mikhail Glukhikh
2016-04-06 17:24:05 +03:00
parent 8a0641a639
commit d79e3f322f
15 changed files with 267 additions and 25 deletions
@@ -758,8 +758,7 @@ public class DescriptorResolver {
return propertyDescriptor;
}
/*package*/
static boolean hasBody(KtProperty property) {
public static boolean hasBody(KtProperty property) {
boolean hasBody = property.hasDelegateExpressionOrInitializer();
if (!hasBody) {
KtPropertyAccessor getter = property.getGetter();