logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1432133 - /logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/PatternParser.java
Date Fri, 11 Jan 2013 16:21:41 GMT
Author: ggregory
Date: Fri Jan 11 16:21:41 2013
New Revision: 1432133

URL: http://svn.apache.org/viewvc?rev=1432133&view=rev
Log:
Rename 'expected' to 'expectedClass'.

Modified:
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/PatternParser.java

Modified: logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/PatternParser.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/PatternParser.java?rev=1432133&r1=1432132&r2=1432133&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/PatternParser.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/PatternParser.java
Fri Jan 11 16:21:41 2013
@@ -105,13 +105,13 @@ public final class PatternParser {
      * Constructor.
      * @param config The current Configuration.
      * @param converterKey The key to lookup the converters.
-     * @param expected The expected base Class of each Converter.
+     * @param expectedClass The expected base Class of each Converter.
      * @param filterClass Filter the returned plugins after calling the plugin manager.
      */
-    public PatternParser(final Configuration config, final String converterKey, final Class<?>
expected,
+    public PatternParser(final Configuration config, final String converterKey, final Class<?>
expectedClass,
                          final Class<?> filterClass) {
         this.config = config;
-        final PluginManager manager = new PluginManager(converterKey, expected);
+        final PluginManager manager = new PluginManager(converterKey, expectedClass);
         manager.collectPlugins();
         final Map<String, PluginType> plugins = manager.getPlugins();
         final Map<String, Class<PatternConverter>> converters = new HashMap<String,
Class<PatternConverter>>();



Mime
View raw message