Skip to content

Commit

Permalink
WW-4507 - adjust Tomcat url decoding code to Log4j 2 logging used in …
Browse files Browse the repository at this point in the history
…Struts
  • Loading branch information
rgielen committed Jan 14, 2016
1 parent 72471d7 commit a89bbe2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Expand Up @@ -16,8 +16,8 @@
*/
package org.apache.struts2.util.tomcat.buf;

import com.opensymphony.xwork2.util.logging.Logger;
import com.opensymphony.xwork2.util.logging.LoggerFactory;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

import java.nio.charset.Charset;
import java.util.ArrayList;
Expand All @@ -33,7 +33,7 @@
public class StringCache {


private static final Logger log = LoggerFactory.getLogger(StringCache.class);
private static final Logger log = LogManager.getLogger(StringCache.class);


// ------------------------------------------------------- Static Variables
Expand Down
Expand Up @@ -16,9 +16,9 @@
*/
package org.apache.struts2.util.tomcat.buf;

import com.opensymphony.xwork2.util.logging.LoggerFactory;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

import com.opensymphony.xwork2.util.logging.Logger;
import java.io.CharConversionException;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
Expand All @@ -33,7 +33,7 @@
*/
public final class UDecoder {

private static final Logger log = LoggerFactory.getLogger(UDecoder.class);
private static final Logger log = LogManager.getLogger(UDecoder.class);

public static final boolean ALLOW_ENCODED_SLASH =
Boolean.parseBoolean(System.getProperty("org.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH", "false"));
Expand Down

0 comments on commit a89bbe2

Please sign in to comment.