Skip to content

Commit cfb1df7

Browse files
committed
fix lint
1 parent c606ff6 commit cfb1df7

File tree

1 file changed

+3
-3
lines changed
  • oap-server/server-library/library-integration-test/src/main/java/org/apache/skywalking/oap/server/library/it

1 file changed

+3
-3
lines changed

oap-server/server-library/library-integration-test/src/main/java/org/apache/skywalking/oap/server/library/it/ITVersions.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,20 +30,20 @@
3030
*/
3131
public class ITVersions {
3232

33-
static Map<String, String> env = readingEnv("test", "e2e-v2", "script", "env");
33+
static Map<String, String> ENV = readingEnv("test", "e2e-v2", "script", "env");
3434

3535
// The prefix of the integration version in the environment file.
3636
static final String INTERGRATION_PREFIX = "INTEGRATION_";
3737

3838
// Get the version from the environment file.
3939
public static String get(String key) {
4040
// trying to find the integration version first
41-
final String integrationVal = env.get(INTERGRATION_PREFIX + key);
41+
final String integrationVal = ENV.get(INTERGRATION_PREFIX + key);
4242
if (integrationVal != null && integrationVal.length() > 0) {
4343
return integrationVal;
4444
}
4545
// if not found, return the normal version
46-
return env.get(key);
46+
return ENV.get(key);
4747
}
4848

4949
private static Map<String, String> readingEnv(String... envFile) {

0 commit comments

Comments
 (0)