mirror of https://github.com/qos-ch/slf4j
- removed the deprecated jcl104-over-slf4j module
- minor corrections
This commit is contained in:
parent
f590669b65
commit
4e9748b469
|
|
@ -1,31 +0,0 @@
|
|||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
|
||||
<parent>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-parent</artifactId>
|
||||
<version>1.6.0-RC0</version>
|
||||
</parent>
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>jcl104-over-slf4j</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<name>DEPRECATED - JCL 1.0.4 implemented over SLF4J</name>
|
||||
|
||||
<url>http://www.slf4j.org</url>
|
||||
<description>
|
||||
DEPRECATED - JCL implemented over SLF4J
|
||||
</description>
|
||||
|
||||
<distributionManagement>
|
||||
<relocation>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>jcl-over-slf4j</artifactId>
|
||||
|
||||
<message>As it now supports JCL versions 1.0.4, 1.1 and 1.1.1, the jcl104-over-slf4j module has been renamed as jcl-over-slf4j.</message>
|
||||
</relocation>
|
||||
</distributionManagement>
|
||||
|
||||
|
||||
</project>
|
||||
1
pom.xml
1
pom.xml
|
|
@ -41,7 +41,6 @@
|
|||
<module>slf4j-jcl</module>
|
||||
<module>slf4j-ext</module>
|
||||
<module>jcl-over-slf4j</module>
|
||||
<module>jcl104-over-slf4j</module>
|
||||
<module>log4j-over-slf4j</module>
|
||||
<module>jul-to-slf4j</module>
|
||||
<module>integration</module>
|
||||
|
|
|
|||
|
|
@ -208,7 +208,6 @@ final public class MessageFormatter {
|
|||
sbuf.append(messagePattern.substring(i, messagePattern.length()));
|
||||
return new FormattingTuple(sbuf.toString(), argArray,
|
||||
throwableCandidate);
|
||||
;
|
||||
}
|
||||
} else {
|
||||
if (isEscapedDelimeter(messagePattern, j)) {
|
||||
|
|
|
|||
|
|
@ -33,7 +33,6 @@
|
|||
|
||||
package org.slf4j.helpers;
|
||||
|
||||
import java.text.NumberFormat;
|
||||
import java.util.Arrays;
|
||||
|
||||
import junit.framework.TestCase;
|
||||
|
|
@ -356,14 +355,4 @@ public class MessageFormatterTest extends TestCase {
|
|||
assertTrue(Arrays.equals(ia, ft.getArgArray()));
|
||||
assertNull(ft.getThrowable());
|
||||
}
|
||||
|
||||
public void testx() {
|
||||
String s = "Hello world";
|
||||
try {
|
||||
Integer i = Integer.valueOf(s);
|
||||
} catch (NumberFormatException e) {
|
||||
System.out.println(e);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue