-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add constants for string literals in UI test classes #1199
base: main
Are you sure you want to change the base?
Add constants for string literals in UI test classes #1199
Conversation
src/main/java/io/openliberty/tools/intellij/util/Constants.java
Outdated
Show resolved
Hide resolved
@@ -541,7 +542,7 @@ public static boolean isServerStopNeeded(String wlpInstallPath) { | |||
*/ | |||
public static void checkDebugPort(String absoluteWLPPath, int debugPort) throws IOException { | |||
// Retrieve the WLP server.env file path | |||
Path serverEnvPath = Paths.get(absoluteWLPPath, "wlp", "usr", "servers", "defaultServer", "server.env"); | |||
Path serverEnvPath = Paths.get(absoluteWLPPath, "wlp", "usr", "servers", "defaultServer", ItConstants.SERVER_ENV); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@TrevCraw , Do we need to consider adding all those strings, such as 'wlp', 'usr', 'servers', etc., to the ITConstants class
? if not then we can keep "server.env" here instead of ItConstants.SERVER_ENV
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change Copyright year in all files
Changed the Copyright year |
Fixes #1153