ソースを参照

remove intellij leniency. fix your IDE instead. it gives people the wrong idea.

Robert Muir 10 年 前
コミット
c354165bc9

+ 1 - 7
core/src/test/java/org/elasticsearch/bootstrap/BootstrapForTesting.java

@@ -61,13 +61,7 @@ public class BootstrapForTesting {
         try {
             JarHell.checkJarHell();
         } catch (Exception e) {
-            if (Boolean.parseBoolean(System.getProperty("tests.maven"))) {
-                throw new RuntimeException("found jar hell in test classpath", e);
-            } else {
-                Loggers.getLogger(BootstrapForTesting.class)
-                    .warn("Your ide or custom test runner has jar hell issues, " +
-                          "you might want to look into that", e);
-            }
+            throw new RuntimeException("found jar hell in test classpath", e);
         }
 
         // make sure java.io.tmpdir exists always (in case code uses it in a static initializer)