Skip to content

Commit 02adcd8

Browse files
committed
refactor: adjust codeStyle
1 parent 6ddbcb2 commit 02adcd8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/spoon/reflect/path/impl/CtPathImpl.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public <T extends CtElement> List<T> evaluateOn(CtElement... startNode) {
4242

4343
@Override
4444
public CtElement evaluateOnShadowModel() {
45-
List<String> cls_name_list = new LinkedList<>();
45+
List<String> classRoleNameList = new LinkedList<>();
4646
CtType<?> ctType = null;
4747
for (CtPathElement element : elements) {
4848
if (element instanceof CtRolePathElement) { // search by CtRolePathElement
@@ -54,9 +54,9 @@ public CtElement evaluateOnShadowModel() {
5454
if (val != null) {
5555
if (CtRole.SUB_PACKAGE.equals(((CtRolePathElement) element).getRole())
5656
|| CtRole.CONTAINED_TYPE.equals(((CtRolePathElement) element).getRole())) {
57-
cls_name_list.add(val);
57+
classRoleNameList.add(val);
5858
}
59-
Class<?> cls = getJdkClass(String.join(".", cls_name_list));
59+
Class<?> cls = getJdkClass(String.join(".", classRoleNameList));
6060
if (cls != null) {
6161
if (ctType == null) {
6262
ctType = new TypeFactory().get(cls);

0 commit comments

Comments
 (0)