Skip to content

Commit

Permalink
WW-4518 Adds since marker to things marked as deprecated in this release
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszlenart committed Jun 23, 2015
1 parent c50605a commit 52b478f
Show file tree
Hide file tree
Showing 13 changed files with 27 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@

/**
* Main logger interface for logging things
*
* @deprecated since 2.5
*/
@Deprecated
public interface Logger {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@

/**
* Creates loggers. Static accessor will lazily try to decide on the best factory if none specified.
*
* @deprecated since 2.5
*/
@Deprecated
public abstract class LoggerFactory {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@

/**
* Logging utility methods
*
* @deprecated since 2.5
*/
@Deprecated
public class LoggerUtils {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@

/**
* Simple logger that delegates to commons logging
*
* @deprecated since 2.5
*/
@Deprecated
public class CommonsLogger implements Logger {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@

/**
* Creates commons-logging-backed loggers
*
* @deprecated since 2.5
*/
@Deprecated
public class CommonsLoggerFactory extends LoggerFactory {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@

/**
* Delegates to jdk logger. Maps fatal to Level.SEVERE along with error.
*
* @deprecated since 2.5
*/
@Deprecated
public class JdkLogger implements Logger {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@

/**
* Creates jdk loggers
*
* @deprecated since 2.5
*/
@Deprecated
public class JdkLoggerFactory extends LoggerFactory {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@

/**
* Simple logger that delegates to log4j2 logging
*
* @deprecated since 2.5
*/
@Deprecated
public class Log4j2Logger implements Logger {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
* <pre>
* -Dxwork.loggerFactory=com.opensymphony.xwork2.util.logging.log4j2.Log4j2LoggerFactory
* </pre>
*
* @deprecated since 2.5
*/
@Deprecated
public class Log4j2LoggerFactory extends LoggerFactory {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@

/**
* Simple logger that delegates to slf4j logging
*
* @deprecated since 2.5
*/
@Deprecated
public class Slf4jLogger implements Logger {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
* <pre>
* -Dxwork.loggerFactory=com.opensymphony.xwork2.util.logging.slf4j.Slf4jLoggerFactory
* </pre>
*
* @deprecated since 2.5
*/
@Deprecated
public class Slf4jLoggerFactory extends LoggerFactory {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,9 @@ public void init(FilterConfig filterConfig) throws ServletException {
}
}

/**
* @deprecated since 2.5
*/
@Deprecated
private void initLogging() {
String factoryName = filterConfig.getInitParameter("loggerFactory");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ public InitOperations() {

/**
* Initializes the internal Struts logging
*
* @deprecated since 2.5
*/
@Deprecated
public void initLogging( HostConfig filterConfig ) {
Expand Down

0 comments on commit 52b478f

Please sign in to comment.