Fix redundant Class.getClass() invocation
This commit is contained in:
@@ -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 {
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user