File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
spring-core/src/main/java/org/springframework/cglib/core Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2022 the original author or authors.
2
+ * Copyright 2002-2023 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -31,7 +31,8 @@ public final class SpringNamingPolicy implements NamingPolicy {
31
31
32
32
public static final SpringNamingPolicy INSTANCE = new SpringNamingPolicy ();
33
33
34
- private static final String LABEL = "$$SpringCGLIB$$" ;
34
+ private static final String SPRING_LABEL = "$$SpringCGLIB$$" ;
35
+
35
36
36
37
private SpringNamingPolicy () {
37
38
}
@@ -46,12 +47,12 @@ else if (prefix.startsWith("java.") || prefix.startsWith("javax.")) {
46
47
}
47
48
48
49
String base ;
49
- int existingLabel = prefix .indexOf (LABEL );
50
+ int existingLabel = prefix .indexOf (SPRING_LABEL );
50
51
if (existingLabel >= 0 ) {
51
- base = prefix .substring (0 , existingLabel + LABEL .length ());
52
+ base = prefix .substring (0 , existingLabel + SPRING_LABEL .length ());
52
53
}
53
54
else {
54
- base = prefix + LABEL ;
55
+ base = prefix + SPRING_LABEL ;
55
56
}
56
57
57
58
int index = 0 ;
You can’t perform that action at this time.
0 commit comments