slf4j/slf4j-commons-lang3.patch

43 lines
2.0 KiB
Diff

--- slf4j-1.7.25/slf4j-ext/src/main/java/org/slf4j/ext/MDCStrLookup.java 2016-12-22 19:54:22.000000000 +0100
+++ slf4j-1.7.25/slf4j-ext/src/main/java/org/slf4j/ext/MDCStrLookup.java 2018-10-22 12:34:02.781643219 +0200
@@ -24,7 +24,7 @@
*/
package org.slf4j.ext;
-import org.apache.commons.lang.text.StrLookup;
+import org.apache.commons.lang3.text.StrLookup;
import org.slf4j.MDC;
/**
--- slf4j-1.7.25/slf4j-site/src/site/pages/extensions.html 2016-12-22 19:54:23.000000000 +0100
+++ slf4j-1.7.25/slf4j-site/src/site/pages/extensions.html 2018-10-22 12:34:02.781643219 +0200
@@ -602,7 +602,7 @@
where data is a reference to the EventData object.</p>
<pre class="prettyprint source">import org.slf4j.MDC;
-import org.apache.commons.lang.time.DateUtils;
+import org.apache.commons.lang3.time.DateUtils;
import javax.servlet.Filter;
import javax.servlet.FilterConfig;
@@ -832,7 +832,7 @@
<p>Some classes may misbehave when being rendered with "object.toString()" so they may be explicitly disabled
in the logback configuration file permanently. For instance the ToStringBuilder in the Apache Jakarta commons lang
package is a prime candidate for this. For logback add this snippet to logback.xml:
- <pre>&lt;logger name="org.apache.commons.lang.builder" level="OFF" /&gt;</pre>
+ <pre>&lt;logger name="org.apache.commons.lang3.builder" level="OFF" /&gt;</pre>
</p>
--- slf4j-1.7.25/slf4j-site/src/site/pages/news.html 2017-03-16 17:16:09.000000000 +0100
+++ slf4j-1.7.25/slf4j-site/src/site/pages/news.html 2018-10-22 12:34:02.785643241 +0200
@@ -966,7 +966,7 @@
used with Apache Commons Lang's <code>StrSubstitutor</code> class to
inject values in the SLF4J MDC into strings. Information on
StrSubstitutor can be found at <a
- href="http://commons.apache.org/lang/api-release/org/apache/commons/lang/text/StrSubstitutor.html">StrSubstitutor
+ href="http://commons.apache.org/lang/api-release/org/apache/commons/lang3/text/StrSubstitutor.html">StrSubstitutor
javadoc</a>.
</p>