This is an automated email from the ASF dual-hosted git repository. rfscholte pushed a commit to branch MNG-6891 in repository https://gitbox.apache.org/repos/asf/maven.git
commit c25d02da213767e13704a78a2a38dcb88946e82a Author: Maarten Mulders <[email protected]> AuthorDate: Wed Apr 15 15:32:20 2020 +0200 Don't mention WARNING (yet) --- .../src/main/java/org/apache/maven/logwrapper/LogLevelRecorder.java | 2 +- .../src/test/java/org/apache/maven/logwrapper/LogLevelRecorderTest.java | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/maven-slf4j-wrapper/src/main/java/org/apache/maven/logwrapper/LogLevelRecorder.java b/maven-slf4j-wrapper/src/main/java/org/apache/maven/logwrapper/LogLevelRecorder.java index 4ab3d9b..2160034 100644 --- a/maven-slf4j-wrapper/src/main/java/org/apache/maven/logwrapper/LogLevelRecorder.java +++ b/maven-slf4j-wrapper/src/main/java/org/apache/maven/logwrapper/LogLevelRecorder.java @@ -39,7 +39,7 @@ public class LogLevelRecorder catch ( IllegalArgumentException iae ) { String message = String.format( - "%s is not a valid log severity threshold. Valid severities are WARN, WARNING and ERROR.", + "%s is not a valid log severity threshold. Valid severities are WARN and ERROR.", threshold ); throw new IllegalArgumentException( message ); } diff --git a/maven-slf4j-wrapper/src/test/java/org/apache/maven/logwrapper/LogLevelRecorderTest.java b/maven-slf4j-wrapper/src/test/java/org/apache/maven/logwrapper/LogLevelRecorderTest.java index 4ee9fe6..8b0305c 100644 --- a/maven-slf4j-wrapper/src/test/java/org/apache/maven/logwrapper/LogLevelRecorderTest.java +++ b/maven-slf4j-wrapper/src/test/java/org/apache/maven/logwrapper/LogLevelRecorderTest.java @@ -51,7 +51,6 @@ public class LogLevelRecorderTest String message = thrown.getMessage(); assertThat( message, containsString( "SEVERE is not a valid log severity threshold" ) ); assertThat( message, containsString( "WARN" ) ); - assertThat( message, containsString( "WARNING" ) ); assertThat( message, containsString( "ERROR" ) ); } } \ No newline at end of file
