Skip to content

Commit

Permalink
[java] Deleting WARNING word from a warning message, logger adds it a…
Browse files Browse the repository at this point in the history
…utomatically
  • Loading branch information
barancev committed Apr 17, 2020
1 parent cf0d569 commit 612295f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions java/server/src/org/openqa/selenium/grid/Main.java
Expand Up @@ -99,14 +99,14 @@ private static URLClassLoader createExtendedClassLoader(String ext) {
for (String part : ext.split(File.pathSeparator)) {
File file = new File(part);
if (!file.exists()) {
LOG.warning("WARNING: Extension file or directory does not exist: " + file);
LOG.warning("Extension file or directory does not exist: " + file);
continue;
}

if (file.isDirectory()) {
File[] files = file.listFiles();
if (files == null) {
LOG.warning("WARNING: Cannot list files in directory: " + file);
LOG.warning("Cannot list files in directory: " + file);
} else {
for (File subdirFile : files) {
if (subdirFile.isFile() && subdirFile.getName().endsWith(".jar")) {
Expand Down

0 comments on commit 612295f

Please sign in to comment.