Fix redundant Class.getClass() invocation

This commit is contained in:
Valery Yatsynovich
2019-08-13 15:44:06 +03:00
parent a7129622e2
commit 082feffeba
@@ -37,7 +37,7 @@ public class Relationships {
}
public String any() {
Method currentMethod = Relationships.class.getClass().getEnclosingMethod();
Method currentMethod = getClass().getEnclosingMethod();
try {
Method[] methods = Relationships.class.getDeclaredMethods();
@@ -57,4 +57,4 @@ public class Relationships {
}
}
}
}