logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1419697 [1/17] - in /logging/log4j/log4j2/trunk: api/src/main/java/org/apache/logging/log4j/ api/src/main/java/org/apache/logging/log4j/message/ api/src/main/java/org/apache/logging/log4j/simple/ api/src/main/java/org/apache/logging/log4j/...
Date Mon, 10 Dec 2012 19:37:03 GMT
Author: ggregory
Date: Mon Dec 10 19:36:06 2012
New Revision: 1419697

URL: http://svn.apache.org/viewvc?rev=1419697&view=rev
Log:
Use 'final' where possible (ivars, lvars, parms).

Modified:
    logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/EventLogger.java
    logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/Level.java
    logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/LogManager.java
    logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/LoggingException.java
    logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/MarkerManager.java
    logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/ThreadContext.java
    logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/AbstractMessageFactory.java
    logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/BasicThreadInformation.java
    logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/ExtendedThreadInformation.java
    logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/LocalizedMessage.java
    logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/MapMessage.java
    logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/ObjectMessage.java
    logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/ParameterizedMessage.java
    logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/ParameterizedMessageFactory.java
    logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/SimpleMessage.java
    logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/StringFormattedMessage.java
    logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/StringFormatterMessageFactory.java
    logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/StructuredDataId.java
    logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/StructuredDataMessage.java
    logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/ThreadDumpMessage.java
    logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/simple/SimpleLogger.java
    logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/simple/SimpleLoggerContext.java
    logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/simple/SimpleLoggerContextFactory.java
    logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/spi/AbstractLogger.java
    logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/spi/AbstractLoggerWrapper.java
    logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/status/StatusConsoleListener.java
    logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/status/StatusData.java
    logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/status/StatusLogger.java
    logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/util/EnglishEnums.java
    logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/util/PropsUtil.java
    logging/log4j/log4j2/trunk/api/src/test/java/org/apache/logging/log4j/AbstractLoggerTest.java
    logging/log4j/log4j2/trunk/api/src/test/java/org/apache/logging/log4j/EventLoggerTest.java
    logging/log4j/log4j2/trunk/api/src/test/java/org/apache/logging/log4j/LevelTest.java
    logging/log4j/log4j2/trunk/api/src/test/java/org/apache/logging/log4j/LoggerTest.java
    logging/log4j/log4j2/trunk/api/src/test/java/org/apache/logging/log4j/NoopThreadContextTest.java
    logging/log4j/log4j2/trunk/api/src/test/java/org/apache/logging/log4j/TestLogger.java
    logging/log4j/log4j2/trunk/api/src/test/java/org/apache/logging/log4j/TestLoggerContext.java
    logging/log4j/log4j2/trunk/api/src/test/java/org/apache/logging/log4j/TestLoggerContextFactory.java
    logging/log4j/log4j2/trunk/api/src/test/java/org/apache/logging/log4j/Timer.java
    logging/log4j/log4j2/trunk/api/src/test/java/org/apache/logging/log4j/message/MapMessageTest.java
    logging/log4j/log4j2/trunk/api/src/test/java/org/apache/logging/log4j/message/ObjectMessageTest.java
    logging/log4j/log4j2/trunk/api/src/test/java/org/apache/logging/log4j/message/ParameterizedMessageTest.java
    logging/log4j/log4j2/trunk/api/src/test/java/org/apache/logging/log4j/message/StringFormattedMessageTest.java
    logging/log4j/log4j2/trunk/api/src/test/java/org/apache/logging/log4j/message/StructuredDataMessageTest.java
    logging/log4j/log4j2/trunk/api/src/test/java/org/apache/logging/log4j/message/ThreadDumpMessageTest.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/AbstractServer.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/Filter.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/Logger.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/LoggerContext.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/AbstractAppender.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/AbstractManager.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/AbstractOutputStreamAppender.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/AppenderRuntimeException.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/AsynchAppender.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/ConsoleAppender.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/DefaultErrorHandler.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/FailoverAppender.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/FailoversPlugin.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/FileAppender.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/FileManager.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/JMSQueueAppender.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/JMSTopicAppender.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/OutputStreamManager.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/RollingFileAppender.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/SocketAppender.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/SyslogAppender.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/rewrite/MapRewritePolicy.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/rewrite/PropertiesRewritePolicy.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/rewrite/RewriteAppender.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/rolling/CompositeTriggeringPolicy.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/rolling/DefaultRolloverStrategy.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/rolling/OnStartupTriggeringPolicy.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/rolling/PatternProcessor.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/rolling/RollingFileManager.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/rolling/SizeBasedTriggeringPolicy.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/rolling/TimeBasedTriggeringPolicy.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/rolling/helper/AbstractAction.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/rolling/helper/CompositeAction.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/rolling/helper/FileRenameAction.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/rolling/helper/GZCompressAction.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/rolling/helper/ZipCompressAction.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/routing/Route.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/routing/Routes.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/routing/RoutingAppender.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/AppenderControl.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/AppenderRef.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/BaseConfiguration.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/ConfigurationException.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/ConfigurationFactory.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/Configurator.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/DefaultConfiguration.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/FileConfigurationMonitor.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/JSONConfiguration.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/JSONConfigurationFactory.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/LoggerConfig.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/Loggers.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/Node.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/NullConfiguration.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/Property.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/XMLConfiguration.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/XMLConfigurationFactory.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/plugins/AppendersPlugin.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/plugins/LoggersPlugin.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/plugins/PluginManager.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/plugins/PluginType.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/plugins/PropertiesPlugin.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/plugins/ResolverUtil.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/filter/AbstractFilter.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/filter/AbstractFilterable.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/filter/BurstFilter.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/filter/CompositeFilter.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/filter/DynamicThresholdFilter.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/filter/MapFilter.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/filter/MarkerFilter.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/filter/RegexFilter.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/filter/StructuredDataFilter.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/filter/ThreadContextMapFilter.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/filter/ThresholdFilter.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/filter/TimeFilter.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/helpers/FileUtils.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/helpers/KeyValuePair.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/helpers/Loader.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/helpers/NameUtil.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/helpers/OptionConverter.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/helpers/Transform.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/helpers/UUIDUtil.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/impl/Log4jContextFactory.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/impl/Log4jLogEvent.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/impl/StackTracePackageElement.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/impl/ThrowableProxy.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/jmx/Log4jManager.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/layout/AbstractLayout.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/layout/AbstractStringLayout.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/layout/HTMLLayout.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/layout/PatternLayout.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/layout/RFC5424Layout.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/layout/SerializedLayout.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/layout/SyslogLayout.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/layout/XMLLayout.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/lookup/ContextMapLookup.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/lookup/DateLookup.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/lookup/EnvironmentLookup.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/lookup/Interpolator.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/lookup/MapLookup.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/lookup/StrMatcher.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/lookup/StrSubstitutor.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/lookup/StructuredDataLookup.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/lookup/SystemPropertiesLookup.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/net/AbstractJMSManager.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/net/AbstractJMSReceiver.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/net/AbstractSocketManager.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/net/DatagramOutputStream.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/net/DatagramSocketManager.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/net/Facility.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/net/JMSQueueManager.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/net/JMSQueueReceiver.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/net/JMSTopicManager.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/net/JMSTopicReceiver.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/net/Priority.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/net/Protocol.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/net/Severity.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/net/SocketServer.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/net/TCPSocketManager.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/AbstractPatternConverter.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/AbstractStyleNameConverter.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/AnsiEscape.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/CachedDateFormat.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/ClassNamePatternConverter.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/DatePatternConverter.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/ExtendedThrowablePatternConverter.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/FileLocationPatternConverter.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/FullLocationPatternConverter.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/HighlightConverter.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/IntegerPatternConverter.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/LevelPatternConverter.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/LineLocationPatternConverter.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/LineSeparatorPatternConverter.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/LiteralPatternConverter.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/MDCPatternConverter.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/MapPatternConverter.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/MarkerPatternConverter.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/MessagePatternConverter.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/MethodLocationPatternConverter.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/NameAbbreviator.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/PatternFormatter.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/PatternParser.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/RegexReplacement.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/RegexReplacementConverter.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/RelativeTimePatternConverter.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/RootThrowablePatternConverter.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/StyleConverter.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/ThrowablePatternConverter.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/UUIDPatternConverter.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/selector/BasicContextSelector.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/selector/ClassLoaderContextSelector.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/selector/JNDIContextSelector.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/DebugDisabledPerformanceComparison.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/FilterPerformanceComparison.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/LogbackSubstitution.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/PerformanceComparison.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/PerformanceRun.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/ReflectionComparison.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/AppenderRefLevelTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/BasicConfigurationFactory.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/BasicLoggingTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/CollectionLoggingTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/FileConfigTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/LoggerTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/SimplePerfTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/StrictXMLConfigTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/ThreadedPerfTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/ThreadedTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/Timer.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/XMLEvents.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/appender/AsynchAppenderTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/appender/ConsoleAppenderAnsiMessagesMain.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/appender/ConsoleAppenderAnsiStyleLayoutMain.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/appender/ConsoleAppenderAnsiStyleNameLayoutMain.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/appender/ConsoleAppenderHighlightLayoutDefaultMain.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/appender/ConsoleAppenderHighlightLayoutLogbackMain.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/appender/ConsoleAppenderHighlightLayoutMain.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/appender/ConsoleAppenderTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/appender/FailoverAppenderTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/appender/FileAppenderTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/appender/OutputStreamAppenderTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/appender/SocketAppenderTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/appender/SyslogAppenderTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/appender/rewrite/MapRewritePolicyTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/appender/rewrite/RewriteAppenderTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/appender/rewrite/TestRewritePolicy.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/appender/rolling/OnStartupTriggeringPolicyTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/appender/rolling/RollingAppenderSizeTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/appender/rolling/RollingAppenderTimeAndSizeTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/appender/rolling/RollingAppenderTimeTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/appender/rolling/RollingAppenderUncompressedTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/appender/routing/JSONRoutingAppender2Test.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/appender/routing/JSONRoutingAppenderTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/appender/routing/RoutingAppenderTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/config/FileOutputTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/config/TestConfigurator.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/config/XMLConfigurationPropsTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/config/XMLConfigurationTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/config/XMLLoggerPropsTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/filter/BurstFilterTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/filter/DynamicThresholdFilterTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/filter/MapFilterTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/filter/MarkerFilterTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/filter/StructuredDataFilterTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/filter/ThreadContextMapFilterTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/filter/ThresholdFilterTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/filter/TimeFilterTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/helpers/UUIDTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/layout/HTMLLayoutTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/layout/PatternLayoutTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/layout/RFC5424LayoutTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/layout/SerializedLayoutTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/layout/SyslogLayoutTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/layout/XMLLayoutTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/lookup/ContextMapLookupTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/lookup/DateLookupTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/lookup/EnvironmentLookupTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/lookup/InterpolatorTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/lookup/StrSubstitutorTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/lookup/StructuredDataLookupTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/lookup/SystemPropertiesLookupTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/net/JMSQueueAppenderTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/net/JMSQueueFailoverTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/net/JMSQueueTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/net/JMSTopicFailoverTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/net/JMSTopicTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/net/PriorityTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/net/SocketMessageLossTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/net/SocketServerTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/net/SocketTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/pattern/ExtendedThrowablePatternConverterTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/pattern/ExtendedThrowableTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/pattern/LevelPatternConverterTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/pattern/MapPatternConverterTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/pattern/MarkerPatternConverterTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/pattern/NameAbbreviatorTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/pattern/PatternParserTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/pattern/RegexReplacementConverterTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/pattern/RegexReplacementTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/pattern/RootThrowablePatternConverterTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/pattern/RootThrowableTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/pattern/StyleConverterTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/util/AbsoluteDateAndTimeFilter.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/util/AbsoluteTimeFilter.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/util/Compare.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/util/ControlFilter.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/util/ISO8601Filter.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/util/JunitTestRunnerFilter.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/util/LineNumberFilter.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/util/MDCOrderFilter.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/util/Profiler.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/util/RelativeTimeFilter.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/util/SunReflectFilter.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/util/Transformer.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/util/UnexpectedFormatException.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/test/appender/AlwaysFailAppender.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/test/appender/InMemoryAppender.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/test/appender/ListAppender.java
    logging/log4j/log4j2/trunk/flume-ng/src/main/java/org/apache/logging/log4j/flume/appender/AbstractFlumeManager.java
    logging/log4j/log4j2/trunk/flume-ng/src/main/java/org/apache/logging/log4j/flume/appender/Agent.java
    logging/log4j/log4j2/trunk/flume-ng/src/main/java/org/apache/logging/log4j/flume/appender/FlumeAppender.java
    logging/log4j/log4j2/trunk/flume-ng/src/main/java/org/apache/logging/log4j/flume/appender/FlumeAvroManager.java
    logging/log4j/log4j2/trunk/flume-ng/src/main/java/org/apache/logging/log4j/flume/appender/FlumeConfigurationBuilder.java
    logging/log4j/log4j2/trunk/flume-ng/src/main/java/org/apache/logging/log4j/flume/appender/FlumeEmbeddedManager.java
    logging/log4j/log4j2/trunk/flume-ng/src/main/java/org/apache/logging/log4j/flume/appender/FlumeEvent.java
    logging/log4j/log4j2/trunk/flume-ng/src/main/java/org/apache/logging/log4j/flume/appender/FlumeNode.java
    logging/log4j/log4j2/trunk/flume-ng/src/main/java/org/apache/logging/log4j/flume/appender/Log4jEventSource.java
    logging/log4j/log4j2/trunk/flume-ng/src/test/java/org/apache/logging/log4j/flume/appender/FlumeAppenderTest.java
    logging/log4j/log4j2/trunk/flume-ng/src/test/java/org/apache/logging/log4j/flume/appender/FlumeEmbeddedAgentTest.java
    logging/log4j/log4j2/trunk/flume-ng/src/test/java/org/apache/logging/log4j/flume/appender/FlumeEmbeddedAppenderTest.java
    logging/log4j/log4j2/trunk/jcl-bridge/src/main/java/org/apache/logging/log4j/jcl/Log4JLog.java
    logging/log4j/log4j2/trunk/jcl-bridge/src/main/java/org/apache/logging/log4j/jcl/LogFactoryImpl.java
    logging/log4j/log4j2/trunk/jcl-bridge/src/test/java/org/apache/logging/log4j/jcl/LoggerTest.java
    logging/log4j/log4j2/trunk/log4j12-api/src/main/java/org/apache/log4j/BasicConfigurator.java
    logging/log4j/log4j2/trunk/log4j12-api/src/main/java/org/apache/log4j/Category.java
    logging/log4j/log4j2/trunk/log4j12-api/src/main/java/org/apache/log4j/Level.java
    logging/log4j/log4j2/trunk/log4j12-api/src/main/java/org/apache/log4j/LogManager.java
    logging/log4j/log4j2/trunk/log4j12-api/src/main/java/org/apache/log4j/Logger.java
    logging/log4j/log4j2/trunk/log4j12-api/src/main/java/org/apache/log4j/MDC.java
    logging/log4j/log4j2/trunk/log4j12-api/src/main/java/org/apache/log4j/NDC.java
    logging/log4j/log4j2/trunk/log4j12-api/src/main/java/org/apache/log4j/PatternLayout.java
    logging/log4j/log4j2/trunk/log4j12-api/src/main/java/org/apache/log4j/Priority.java
    logging/log4j/log4j2/trunk/log4j12-api/src/main/java/org/apache/log4j/PropertyConfigurator.java
    logging/log4j/log4j2/trunk/log4j12-api/src/main/java/org/apache/log4j/config/PropertySetter.java
    logging/log4j/log4j2/trunk/log4j12-api/src/main/java/org/apache/log4j/config/PropertySetterException.java
    logging/log4j/log4j2/trunk/log4j12-api/src/main/java/org/apache/log4j/spi/Filter.java
    logging/log4j/log4j2/trunk/log4j12-api/src/main/java/org/apache/log4j/xml/DOMConfigurator.java
    logging/log4j/log4j2/trunk/log4j12-api/src/test/java/org/apache/log4j/BasicConfigurationFactory.java
    logging/log4j/log4j2/trunk/log4j12-api/src/test/java/org/apache/log4j/CategoryTest.java
    logging/log4j/log4j2/trunk/log4j12-api/src/test/java/org/apache/log4j/LevelTest.java
    logging/log4j/log4j2/trunk/log4j12-api/src/test/java/org/apache/log4j/LoggerTest.java
    logging/log4j/log4j2/trunk/log4j12-api/src/test/java/org/apache/log4j/PriorityTest.java
    logging/log4j/log4j2/trunk/log4j12-api/src/test/java/org/apache/log4j/util/SerializationTestHelper.java
    logging/log4j/log4j2/trunk/slf4j-impl/src/main/java/org/apache/logging/slf4j/SLF4JLoggingException.java
    logging/log4j/log4j2/trunk/slf4j-impl/src/main/java/org/slf4j/helpers/Log4JLoggerFactory.java
    logging/log4j/log4j2/trunk/slf4j-impl/src/main/java/org/slf4j/helpers/Log4JMDCAdapter.java
    logging/log4j/log4j2/trunk/slf4j-impl/src/main/java/org/slf4j/helpers/Log4JMarkerFactory.java
    logging/log4j/log4j2/trunk/slf4j-impl/src/main/java/org/slf4j/helpers/MarkerWrapper.java
    logging/log4j/log4j2/trunk/slf4j-impl/src/main/java/org/slf4j/impl/SLF4JLogger.java
    logging/log4j/log4j2/trunk/slf4j-impl/src/test/java/org/apache/logging/slf4j/LoggerTest.java
    logging/log4j/log4j2/trunk/slf4j-impl/src/test/java/org/apache/logging/slf4j/MarkerTest.java

Modified: logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/EventLogger.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/EventLogger.java?rev=1419697&r1=1419696&r2=1419697&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/EventLogger.java (original)
+++ logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/EventLogger.java Mon Dec 10 19:36:06 2012
@@ -35,7 +35,7 @@ public final class EventLogger {
     private static AbstractLoggerWrapper logger;
 
     static {
-        Logger l = LogManager.getLogger("EventLogger");
+        final Logger l = LogManager.getLogger("EventLogger");
         if (!(l instanceof AbstractLogger)) {
             throw new LoggingException("Logger returned must be based on AbstractLogger");
         }
@@ -50,7 +50,7 @@ public final class EventLogger {
      * Log events with a level of ALL.
      * @param msg The event StructuredDataMessage.
      */
-    public static void logEvent(StructuredDataMessage msg) {
+    public static void logEvent(final StructuredDataMessage msg) {
         logger.log(EVENT_MARKER, FQCN, Level.OFF, msg, null);
     }
 
@@ -59,7 +59,7 @@ public final class EventLogger {
      * @param msg The event StructuredDataMessage.
      * @param level The logging Level.
      */
-    public static void logEvent(StructuredDataMessage msg, Level level) {
+    public static void logEvent(final StructuredDataMessage msg, final Level level) {
         logger.log(EVENT_MARKER, FQCN, level, msg, null);
     }
 }

Modified: logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/Level.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/Level.java?rev=1419697&r1=1419696&r2=1419697&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/Level.java (original)
+++ logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/Level.java Mon Dec 10 19:36:06 2012
@@ -71,7 +71,7 @@ public enum Level {
 
     private final int intLevel;
 
-    private Level(int val) {
+    private Level(final int val) {
         intLevel = val;
     }
 
@@ -82,7 +82,7 @@ public enum Level {
      * @param sArg The name of the desired Level.
      * @return The Level associated with the String.
      */
-    public static Level toLevel(String sArg) {
+    public static Level toLevel(final String sArg) {
         return toLevel(sArg, DEBUG);
     }
 
@@ -100,7 +100,7 @@ public enum Level {
             return defaultLevel;
         }
         final String cleanLevel = name.toUpperCase(Locale.ENGLISH);
-        for (Level level : values()) {
+        for (final Level level : values()) {
             if (level.name().equals(cleanLevel)) {
                 return level;
             }
@@ -115,7 +115,7 @@ public enum Level {
      * @param level The level to check.
      * @return True if the passed Level is more specific or the same as this Level.
      */
-    public boolean isAtLeastAsSpecificAs(Level level) {
+    public boolean isAtLeastAsSpecificAs(final Level level) {
         return intLevel <= level.intLevel;
     }
 
@@ -126,7 +126,7 @@ public enum Level {
      * @param level The level to check.
      * @return True if the passed Level is more specific or the same as this Level.
      */
-    public boolean isAtLeastAsSpecificAs(int level) {
+    public boolean isAtLeastAsSpecificAs(final int level) {
         return intLevel <= level;
     }
 
@@ -135,7 +135,7 @@ public enum Level {
      * @param level The level to check.
      * @return True if the passed Level is more specific or the same as this Level.
      */
-    public boolean lessOrEqual(Level level) {
+    public boolean lessOrEqual(final Level level) {
         return intLevel <= level.intLevel;
     }
 
@@ -144,7 +144,7 @@ public enum Level {
      * @param level The level to check.
      * @return True if the passed Level is more specific or the same as this Level.
      */
-    public boolean lessOrEqual(int level) {
+    public boolean lessOrEqual(final int level) {
         return intLevel <= level;
     }
 

Modified: logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/LogManager.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/LogManager.java?rev=1419697&r1=1419696&r2=1419697&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/LogManager.java (original)
+++ logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/LogManager.java Mon Dec 10 19:36:06 2012
@@ -66,62 +66,62 @@ public class LogManager {
      */
     static {
         // Shortcut binding to force a specific logging implementation.
-        PropsUtil managerProps = new PropsUtil("log4j2.LogManager.properties");
-        String factoryClass = managerProps.getStringProperty(FACTORY_PROPERTY_NAME);
-        ClassLoader cl = findClassLoader();
+        final PropsUtil managerProps = new PropsUtil("log4j2.LogManager.properties");
+        final String factoryClass = managerProps.getStringProperty(FACTORY_PROPERTY_NAME);
+        final ClassLoader cl = findClassLoader();
         if (factoryClass != null) {
             try {
-                Class<?> clazz = cl.loadClass(factoryClass);
+                final Class<?> clazz = cl.loadClass(factoryClass);
                 if (LoggerContextFactory.class.isAssignableFrom(clazz)) {
                     factory = (LoggerContextFactory) clazz.newInstance();
                 }
-            } catch (ClassNotFoundException cnfe) {
+            } catch (final ClassNotFoundException cnfe) {
                 logger.error("Unable to locate configured LoggerContextFactory {}", factoryClass);
-            } catch (Exception ex) {
+            } catch (final Exception ex) {
                 logger.error("Unable to create configured LoggerContextFactory {}", factoryClass, ex);
             }
         }
 
         if (factory == null) {
-            SortedMap<Integer, LoggerContextFactory> factories = new TreeMap<Integer, LoggerContextFactory>();
+            final SortedMap<Integer, LoggerContextFactory> factories = new TreeMap<Integer, LoggerContextFactory>();
 
             Enumeration<URL> enumResources = null;
             try {
                 enumResources = cl.getResources(LOGGER_RESOURCE);
-            } catch (IOException e) {
+            } catch (final IOException e) {
                 logger.fatal("Unable to locate " + LOGGER_RESOURCE, e);
             }
 
             if (enumResources != null) {
                 while (enumResources.hasMoreElements()) {
-                    Properties props = new Properties();
-                    URL url = enumResources.nextElement();
+                    final Properties props = new Properties();
+                    final URL url = enumResources.nextElement();
                     try {
                         props.load(url.openStream());
-                    } catch (IOException ioe) {
+                    } catch (final IOException ioe) {
                         logger.error("Unable to read " + url.toString(), ioe);
                     }
                     if (!validVersion(props.getProperty(API_VERSION))) {
                         continue;
                     }
-                    String weight = props.getProperty(FACTORY_PRIORITY);
-                    Integer priority = weight == null ? -1 : Integer.valueOf(weight);
-                    String className = props.getProperty(LOGGER_CONTEXT_FACTORY);
+                    final String weight = props.getProperty(FACTORY_PRIORITY);
+                    final Integer priority = weight == null ? -1 : Integer.valueOf(weight);
+                    final String className = props.getProperty(LOGGER_CONTEXT_FACTORY);
                     if (className != null) {
                         try {
-                            Class<?> clazz = cl.loadClass(className);
+                            final Class<?> clazz = cl.loadClass(className);
                             if (LoggerContextFactory.class.isAssignableFrom(clazz)) {
                                 factories.put(priority, (LoggerContextFactory) clazz.newInstance());
                             } else {
                                 logger.error(className + " does not implement " + LoggerContextFactory.class.getName());
                             }
-                        } catch (ClassNotFoundException cnfe) {
+                        } catch (final ClassNotFoundException cnfe) {
                             logger.error("Unable to locate class " + className + " specified in " + url.toString(),
                                 cnfe);
-                        } catch (IllegalAccessException iae) {
+                        } catch (final IllegalAccessException iae) {
                             logger.error("Unable to create class " + className + " specified in " + url.toString(),
                                 iae);
-                        } catch (Exception e) {
+                        } catch (final Exception e) {
                             logger.error("Unable to create class " + className + " specified in " + url.toString(), e);
                             e.printStackTrace();
                         }
@@ -131,8 +131,8 @@ public class LogManager {
                     logger.error("Unable to locate a logging implementation, using SimpleLogger");
                     factory = new SimpleLoggerContextFactory();
                 } else {
-                    StringBuilder sb = new StringBuilder("Multiple logging implementations found: \n");
-                    for (Map.Entry<Integer, LoggerContextFactory> entry : factories.entrySet()) {
+                    final StringBuilder sb = new StringBuilder("Multiple logging implementations found: \n");
+                    for (final Map.Entry<Integer, LoggerContextFactory> entry : factories.entrySet()) {
                         sb.append("Factory: ").append(entry.getValue().getClass().getName());
                         sb.append(", Weighting: ").append(entry.getKey()).append("\n");
                     }
@@ -162,7 +162,7 @@ public class LogManager {
      * @param name The logger name.
      * @return The Logger.
      */
-    public static Logger getLogger(String name) {
+    public static Logger getLogger(final String name) {
         return factory.getContext(LogManager.class.getName(), null, false).getLogger(name);
     }
 
@@ -173,7 +173,7 @@ public class LogManager {
      * @param messageFactory The message factory is used only when creating a logger, subsequent use does not change the logger but will log a warning if mismatched.
      * @return The Logger.
      */
-    public static Logger getLogger(String name, MessageFactory messageFactory) {
+    public static Logger getLogger(final String name, final MessageFactory messageFactory) {
         return factory.getContext(LogManager.class.getName(), null, false).getLogger(name, messageFactory);
     }
 
@@ -182,7 +182,7 @@ public class LogManager {
      * @param clazz The Class whose name should be used as the Logger name.
      * @return The Logger.
      */
-    public static Logger getLogger(Class<?> clazz) {
+    public static Logger getLogger(final Class<?> clazz) {
         return getLogger(clazz != null ? clazz.getName() : null);
     }
 
@@ -192,7 +192,7 @@ public class LogManager {
      * @param messageFactory The message factory is used only when creating a logger, subsequent use does not change the logger but will log a warning if mismatched.
      * @return The Logger.
      */
-    public static Logger getLogger(Class<?> clazz, MessageFactory messageFactory) {
+    public static Logger getLogger(final Class<?> clazz, final MessageFactory messageFactory) {
         return getLogger(clazz != null ? clazz.getName() : null, messageFactory);
     }
 
@@ -201,7 +201,7 @@ public class LogManager {
      * @param value The value whose class name should be used as the Logger name.
      * @return The Logger.
      */
-    public static Logger getLogger(Object value) {
+    public static Logger getLogger(final Object value) {
         return getLogger(value != null ? value.getClass() : null);
     }
 
@@ -211,7 +211,7 @@ public class LogManager {
      * @param messageFactory The message factory is used only when creating a logger, subsequent use does not change the logger but will log a warning if mismatched.
      * @return The Logger.
      */
-    public static Logger getLogger(Object value, MessageFactory messageFactory) {
+    public static Logger getLogger(final Object value, final MessageFactory messageFactory) {
         return getLogger(value != null ? value.getClass() : null, messageFactory);
     }
 
@@ -222,7 +222,7 @@ public class LogManager {
      * @param name The logger name.
      * @return The Logger.
      */
-    protected static Logger getLogger(String fqcn, String name) {
+    protected static Logger getLogger(final String fqcn, final String name) {
         return factory.getContext(fqcn, null, false).getLogger(name);
     }
 
@@ -246,7 +246,7 @@ public class LogManager {
      * returned. If true then only a single LoggerContext will be returned.
      * @return a LoggerContext.
      */
-    public static LoggerContext getContext(boolean currentContext) {
+    public static LoggerContext getContext(final boolean currentContext) {
         return factory.getContext(LogManager.class.getName(), null, currentContext);
     }
 
@@ -261,7 +261,7 @@ public class LogManager {
      * returned. If true then only a single LoggerContext will be returned.
      * @return a LoggerContext.
      */
-    public static LoggerContext getContext(ClassLoader loader, boolean currentContext) {
+    public static LoggerContext getContext(final ClassLoader loader, final boolean currentContext) {
         return factory.getContext(LogManager.class.getName(), loader, currentContext);
     }
 
@@ -275,7 +275,7 @@ public class LogManager {
      * returned. If true then only a single LoggerContext will be returned.
      * @return a LoggerContext.
      */
-    protected static LoggerContext getContext(String fqcn, boolean currentContext) {
+    protected static LoggerContext getContext(final String fqcn, final boolean currentContext) {
         return factory.getContext(fqcn, null, currentContext);
     }
 
@@ -291,7 +291,7 @@ public class LogManager {
      * returned. If true then only a single LoggerContext will be returned.
      * @return a LoggerContext.
      */
-    protected static LoggerContext getContext(String fqcn, ClassLoader loader, boolean currentContext) {
+    protected static LoggerContext getContext(final String fqcn, final ClassLoader loader, final boolean currentContext) {
         return factory.getContext(fqcn, loader, currentContext);
     }
 
@@ -315,8 +315,8 @@ public class LogManager {
         return cl;
     }
 
-    private static boolean validVersion(String version) {
-        for (String v : COMPATIBLE_API_VERSIONS) {
+    private static boolean validVersion(final String version) {
+        for (final String v : COMPATIBLE_API_VERSIONS) {
             if (version.startsWith(v)) {
                 return true;
             }

Modified: logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/LoggingException.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/LoggingException.java?rev=1419697&r1=1419696&r2=1419697&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/LoggingException.java (original)
+++ logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/LoggingException.java Mon Dec 10 19:36:06 2012
@@ -31,7 +31,7 @@ public class LoggingException extends Ru
      * Constructs a LoggingException with a message.
      * @param msg The message.
      */
-    public LoggingException(String msg) {
+    public LoggingException(final String msg) {
         super(msg);
     }
 
@@ -40,7 +40,7 @@ public class LoggingException extends Ru
      * @param msg The message.
      * @param ex The chained Exception.
      */
-    public LoggingException(String msg, Exception ex) {
+    public LoggingException(final String msg, final Exception ex) {
         super(msg, ex);
     }
 
@@ -48,7 +48,7 @@ public class LoggingException extends Ru
      * Constructs a Logging Exception with a chained Exception and no message.
      * @param ex The chained Exception.
      */
-    public LoggingException(Exception ex) {
+    public LoggingException(final Exception ex) {
         super(ex);
     }
 }

Modified: logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/MarkerManager.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/MarkerManager.java?rev=1419697&r1=1419696&r2=1419697&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/MarkerManager.java (original)
+++ logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/MarkerManager.java Mon Dec 10 19:36:06 2012
@@ -36,7 +36,7 @@ public final class MarkerManager {
      * @param name The name of the Marker.
      * @return The Marker with the specified name.
      */
-    public static Marker getMarker(String name) {
+    public static Marker getMarker(final String name) {
         markerMap.putIfAbsent(name, new Log4JMarker(name));
         return markerMap.get(name);
     }
@@ -48,8 +48,8 @@ public final class MarkerManager {
      * @return The Marker with the specified name.
      * @throws IllegalArgumentException if the parent Marker does not exist.
      */
-    public static Marker getMarker(String name, String parent) {
-        Marker parentMarker = markerMap.get(parent);
+    public static Marker getMarker(final String name, final String parent) {
+        final Marker parentMarker = markerMap.get(parent);
         if (parentMarker == null) {
             throw new IllegalArgumentException("Parent Marker " + parent + " has not been defined");
         }
@@ -62,7 +62,7 @@ public final class MarkerManager {
      * @param parent The parent Marker.
      * @return The Marker with the specified name.
      */
-    public static Marker getMarker(String name, Marker parent) {
+    public static Marker getMarker(final String name, final Marker parent) {
         markerMap.putIfAbsent(name, new Log4JMarker(name, parent));
         return markerMap.get(name);
     }
@@ -77,12 +77,12 @@ public final class MarkerManager {
         private final String name;
         private final Marker parent;
 
-        public Log4JMarker(String name) {
+        public Log4JMarker(final String name) {
             this.name = name;
             this.parent = null;
         }
 
-        public Log4JMarker(String name, Marker parent) {
+        public Log4JMarker(final String name, final Marker parent) {
             this.name = name;
             this.parent = parent;
         }
@@ -95,7 +95,7 @@ public final class MarkerManager {
             return this.parent;
         }
 
-        public boolean isInstanceOf(Marker m) {
+        public boolean isInstanceOf(final Marker m) {
             if (m == null) {
                 throw new IllegalArgumentException("A marker parameter is required");
             }
@@ -109,7 +109,7 @@ public final class MarkerManager {
             return false;
         }
 
-        public boolean isInstanceOf(String name) {
+        public boolean isInstanceOf(final String name) {
             if (name == null) {
                 throw new IllegalArgumentException("A marker name is required");
             }
@@ -124,7 +124,7 @@ public final class MarkerManager {
         }
 
         @Override
-        public boolean equals(Object o) {
+        public boolean equals(final Object o) {
             if (this == o) {
                 return true;
             }
@@ -132,7 +132,7 @@ public final class MarkerManager {
                 return false;
             }
 
-            Marker marker = (Marker) o;
+            final Marker marker = (Marker) o;
 
             if (name != null ? !name.equals(marker.getName()) : marker.getName() != null) {
                 return false;
@@ -148,7 +148,7 @@ public final class MarkerManager {
 
         @Override
         public String toString() {
-            StringBuilder sb = new StringBuilder(name);
+            final StringBuilder sb = new StringBuilder(name);
             if (parent != null) {
                 Marker m = parent;
                 sb.append("[ ");

Modified: logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/ThreadContext.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/ThreadContext.java?rev=1419697&r1=1419696&r2=1419697&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/ThreadContext.java (original)
+++ logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/ThreadContext.java Mon Dec 10 19:36:06 2012
@@ -61,7 +61,7 @@ public final class ThreadContext {
     private static ThreadLocal<Map<String, String>> localMap =
         new InheritableThreadLocal<Map<String, String>>() {
             @Override
-            protected Map<String, String> childValue(Map<String, String> parentValue) {
+            protected Map<String, String> childValue(final Map<String, String> parentValue) {
                 return parentValue == null || !useMap ? null : new HashMap<String, String>(parentValue);
             }
         };
@@ -82,7 +82,7 @@ public final class ThreadContext {
      * @param key The key name.
      * @param value The key value.
      */
-    public static void put(String key, String value) {
+    public static void put(final String key, final String value) {
         if (!useMap) {
             return;
         }
@@ -101,8 +101,8 @@ public final class ThreadContext {
      * @param key The key to locate.
      * @return The value associated with the key or null.
      */
-    public static String get(String key) {
-        Map<String, String> map = localMap.get();
+    public static String get(final String key) {
+        final Map<String, String> map = localMap.get();
         return map == null ? null : map.get(key);
     }
 
@@ -111,8 +111,8 @@ public final class ThreadContext {
      * parameter.
      * @param key The key to remove.
      */
-    public static void remove(String key) {
-        Map<String, String> map = localMap.get();
+    public static void remove(final String key) {
+        final Map<String, String> map = localMap.get();
         if (map != null) {
             map.remove(key);
         }
@@ -130,8 +130,8 @@ public final class ThreadContext {
      * @param key The key to locate.
      * @return True if the key is in the context, false otherwise.
      */
-    public static boolean containsKey(String key) {
-        Map<String, String> map = localMap.get();
+    public static boolean containsKey(final String key) {
+        final Map<String, String> map = localMap.get();
         return map == null ? false : map.containsKey(key);
     }
 
@@ -140,7 +140,7 @@ public final class ThreadContext {
      * @return a copy of the context.
      */
     public static Map<String, String> getContext() {
-        Map<String, String> map = localMap.get();
+        final Map<String, String> map = localMap.get();
         return map == null ? new HashMap<String, String>() : new HashMap<String, String>(map);
     }
 
@@ -149,7 +149,7 @@ public final class ThreadContext {
      * @return An immutable copy of the ThreadContext Map.
      */
     public static Map<String, String> getImmutableContext() {
-        Map<String, String> map = localMap.get();
+        final Map<String, String> map = localMap.get();
         return map == null ? new ImmutableMap() : new ImmutableMap(map);
     }
 
@@ -158,7 +158,7 @@ public final class ThreadContext {
      * @return true if the Map is empty, false otherwise.
      */
     public static boolean isEmpty() {
-        Map<String, String> map = localMap.get();
+        final Map<String, String> map = localMap.get();
         return map == null || map.size() == 0;
     }
 
@@ -174,7 +174,7 @@ public final class ThreadContext {
      * @return A copy of this thread's stack.
      */
     public static ContextStack cloneStack() {
-        ContextStack stack = localStack.get();
+        final ContextStack stack = localStack.get();
         return stack == null ? new ThreadContextStack() : new ThreadContextStack(stack.asList());
     }
 
@@ -183,7 +183,7 @@ public final class ThreadContext {
      * @return an immutable copy of the ThreadContext stack.
      */
     public static ContextStack getImmutableStack() {
-        ContextStack stack = localStack.get();
+        final ContextStack stack = localStack.get();
         return stack == null ? EMPTY_STACK : new ImmutableStack(stack.asList());
     }
 
@@ -191,7 +191,7 @@ public final class ThreadContext {
      * Set this thread's stack.
      * @param stack The stack to use.
      */
-    public static void setStack(Collection<String> stack) {
+    public static void setStack(final Collection<String> stack) {
         if (stack.size() == 0 || !useStack) {
             return;
         }
@@ -205,7 +205,7 @@ public final class ThreadContext {
      * @see #trim
      */
     public static int getDepth() {
-        ContextStack stack = localStack.get();
+        final ContextStack stack = localStack.get();
         return stack == null ? 0 : stack.getDepth();
     }
 
@@ -218,7 +218,7 @@ public final class ThreadContext {
      * @return String The innermost diagnostic context.
      */
     public static String pop() {
-        ContextStack s = localStack.get();
+        final ContextStack s = localStack.get();
         if (s == null || s.getDepth() == 0) {
             return "";
         }
@@ -235,7 +235,7 @@ public final class ThreadContext {
      * @return String The innermost diagnostic context.
      */
     public static String peek() {
-        ContextStack s = localStack.get();
+        final ContextStack s = localStack.get();
         if (s == null || s.getDepth() == 0) {
             return "";
         }
@@ -250,7 +250,7 @@ public final class ThreadContext {
      *
      * @param message The new diagnostic context information.
      */
-    public static void push(String message) {
+    public static void push(final String message) {
         if (!useStack) {
             return;
         }
@@ -271,7 +271,7 @@ public final class ThreadContext {
      *
      * @param message The new diagnostic context information.
      */
-    public static void push(String message, Object... args) {
+    public static void push(final String message, final Object... args) {
         if (!useStack) {
             return;
         }
@@ -334,8 +334,8 @@ public final class ThreadContext {
      * @see #getDepth
      * @param depth The number of elements to keep.
      */
-    public static void trim(int depth) {
-        ContextStack stack = localStack.get();
+    public static void trim(final int depth) {
+        final ContextStack stack = localStack.get();
         if (stack != null) {
             stack.trim(depth);
         }
@@ -406,14 +406,14 @@ public final class ThreadContext {
             super();
         }
 
-        public ThreadContextStack(Collection<String> collection) {
+        public ThreadContextStack(final Collection<String> collection) {
             super(collection);
         }
 
         public String pop() {
-            int index = size() - 1;
+            final int index = size() - 1;
             if (index >= 0) {
-                String result = get(index);
+                final String result = get(index);
                 remove(index);
                 return result;
             }
@@ -421,14 +421,14 @@ public final class ThreadContext {
         }
 
         public String peek() {
-            int index = size() - 1;
+            final int index = size() - 1;
             if (index >= 0) {
                 return get(index);
             }
             return null;
         }
 
-        public void push(String message) {
+        public void push(final String message) {
             add(message);
         }
 
@@ -440,7 +440,7 @@ public final class ThreadContext {
             return this;
         }
 
-        public void trim(int depth) {
+        public void trim(final int depth) {
             if (depth < 0) {
                 throw new IllegalArgumentException("Maximum stack depth cannot be negative");
             }
@@ -465,21 +465,21 @@ public final class ThreadContext {
         public ImmutableStack() {
         }
 
-        public ImmutableStack(Collection<String> collection) {
+        public ImmutableStack(final Collection<String> collection) {
             super(collection);
         }
 
-        public ImmutableStack(ThreadContextStack stack) {
+        public ImmutableStack(final ThreadContextStack stack) {
             super(stack);
         }
 
         @Override
-        public void push(String message) {
+        public void push(final String message) {
             throw new UnsupportedOperationException("Stack cannot be modified");
         }
 
         @Override
-        public void trim(int depth) {
+        public void trim(final int depth) {
             throw new UnsupportedOperationException("Stack cannot be modified");
         }
     }
@@ -494,22 +494,22 @@ public final class ThreadContext {
             super();
         }
 
-        public ImmutableMap(Map<String, String> map) {
+        public ImmutableMap(final Map<String, String> map) {
             super(map);
         }
 
         @Override
-        public String put(String s, String s1) {
+        public String put(final String s, final String s1) {
             throw new UnsupportedOperationException("Map cannot be modified");
         }
 
         @Override
-        public void putAll(Map<? extends String, ? extends String> map) {
+        public void putAll(final Map<? extends String, ? extends String> map) {
             throw new UnsupportedOperationException("Map cannot be modified");
         }
 
         @Override
-        public String remove(Object o) {
+        public String remove(final Object o) {
             throw new UnsupportedOperationException("Map cannot be modified");
         }
 

Modified: logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/AbstractMessageFactory.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/AbstractMessageFactory.java?rev=1419697&r1=1419696&r2=1419697&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/AbstractMessageFactory.java (original)
+++ logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/AbstractMessageFactory.java Mon Dec 10 19:36:06 2012
@@ -9,14 +9,14 @@ public abstract class AbstractMessageFac
     /* (non-Javadoc)
      * @see org.apache.logging.log4j.message.MessageFactory#newMessage(java.lang.Object)
      */
-    public Message newMessage(Object message) {
+    public Message newMessage(final Object message) {
         return new ObjectMessage(message);
     }
 
     /* (non-Javadoc)
      * @see org.apache.logging.log4j.message.MessageFactory#newMessage(java.lang.String)
      */
-    public Message newMessage(String message) {
+    public Message newMessage(final String message) {
         return new SimpleMessage(message);
     }
 

Modified: logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/BasicThreadInformation.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/BasicThreadInformation.java?rev=1419697&r1=1419696&r2=1419697&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/BasicThreadInformation.java (original)
+++ logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/BasicThreadInformation.java Mon Dec 10 19:36:06 2012
@@ -35,7 +35,7 @@ class BasicThreadInformation implements 
      * The Constructor.
      * @param thread The Thread to capture.
      */
-    public BasicThreadInformation(Thread thread) {
+    public BasicThreadInformation(final Thread thread) {
         this.id = thread.getId();
         this.name = thread.getName();
         this.longName = thread.toString();
@@ -43,12 +43,12 @@ class BasicThreadInformation implements 
         this.priority = thread.getPriority();
         this.isAlive = thread.isAlive();
         this.isDaemon = thread.isDaemon();
-        ThreadGroup group = thread.getThreadGroup();
+        final ThreadGroup group = thread.getThreadGroup();
         threadGroupName = group == null ? null : group.getName();
     }
 
     @Override
-    public boolean equals(Object o) {
+    public boolean equals(final Object o) {
         if (this == o) {
             return true;
         }
@@ -56,7 +56,7 @@ class BasicThreadInformation implements 
             return false;
         }
 
-        BasicThreadInformation that = (BasicThreadInformation) o;
+        final BasicThreadInformation that = (BasicThreadInformation) o;
 
         if (id != that.id) {
             return false;
@@ -79,7 +79,7 @@ class BasicThreadInformation implements 
      * Print the thread information.
      * @param sb The StringBuilder.
      */
-    public void printThreadInfo(StringBuilder sb) {
+    public void printThreadInfo(final StringBuilder sb) {
         sb.append("\"").append(name).append("\" ");
         if (isDaemon) {
             sb.append("daemon ");
@@ -97,8 +97,8 @@ class BasicThreadInformation implements 
      * @param sb The StringBuilder.
      * @param trace The stack trace element array to format.
      */
-    public void printStack(StringBuilder sb, StackTraceElement[] trace) {
-        for (StackTraceElement element : trace) {
+    public void printStack(final StringBuilder sb, final StackTraceElement[] trace) {
+        for (final StackTraceElement element : trace) {
             sb.append("\tat ").append(element).append("\n");
         }
     }

Modified: logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/ExtendedThreadInformation.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/ExtendedThreadInformation.java?rev=1419697&r1=1419696&r2=1419697&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/ExtendedThreadInformation.java (original)
+++ logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/ExtendedThreadInformation.java Mon Dec 10 19:36:06 2012
@@ -29,11 +29,11 @@ class ExtendedThreadInformation implemen
     private final ThreadInfo info;
 
 
-    public ExtendedThreadInformation(ThreadInfo thread) {
+    public ExtendedThreadInformation(final ThreadInfo thread) {
         this.info = thread;
     }
 
-    public void printThreadInfo(StringBuilder sb) {
+    public void printThreadInfo(final StringBuilder sb) {
         sb.append("\"").append(info.getThreadName()).append("\"");
         sb.append(" Id=").append(info.getThreadId()).append(" ");
         formatState(sb, info);
@@ -46,13 +46,13 @@ class ExtendedThreadInformation implemen
         sb.append('\n');
     }
 
-    public void printStack(StringBuilder sb, StackTraceElement[] stack) {
+    public void printStack(final StringBuilder sb, final StackTraceElement[] stack) {
         int i = 0;
-        for (StackTraceElement element : stack) {
+        for (final StackTraceElement element : stack) {
             sb.append("\tat ").append(element.toString());
             sb.append('\n');
             if (i == 0 && info.getLockInfo() != null) {
-                Thread.State ts = info.getThreadState();
+                final Thread.State ts = info.getThreadState();
                 switch (ts) {
                     case BLOCKED:
                         sb.append("\t-  blocked on ");
@@ -73,7 +73,7 @@ class ExtendedThreadInformation implemen
                 }
             }
 
-            for (MonitorInfo mi : info.getLockedMonitors()) {
+            for (final MonitorInfo mi : info.getLockedMonitors()) {
                 if (mi.getLockedStackDepth() == i) {
                     sb.append("\t-  locked ");
                     formatLock(sb, mi);
@@ -83,10 +83,10 @@ class ExtendedThreadInformation implemen
             ++i;
         }
 
-        LockInfo[] locks = info.getLockedSynchronizers();
+        final LockInfo[] locks = info.getLockedSynchronizers();
         if (locks.length > 0) {
             sb.append("\n\tNumber of locked synchronizers = ").append(locks.length).append('\n');
-            for (LockInfo li : locks) {
+            for (final LockInfo li : locks) {
                 sb.append("\t- ");
                 formatLock(sb, li);
                 sb.append('\n');
@@ -94,13 +94,13 @@ class ExtendedThreadInformation implemen
         }
     }
 
-    private void formatLock(StringBuilder sb, LockInfo lock) {
+    private void formatLock(final StringBuilder sb, final LockInfo lock) {
         sb.append("<").append(lock.getIdentityHashCode()).append("> (a ");
         sb.append(lock.getClassName()).append(")");
     }
 
-    private void formatState(StringBuilder sb, ThreadInfo info) {
-        Thread.State state = info.getThreadState();
+    private void formatState(final StringBuilder sb, final ThreadInfo info) {
+        final Thread.State state = info.getThreadState();
         sb.append(state);
         switch (state) {
             case BLOCKED: {
@@ -109,9 +109,9 @@ class ExtendedThreadInformation implemen
                 break;
             }
             case WAITING: {
-                StackTraceElement element = info.getStackTrace()[0];
-                String className = element.getClassName();
-                String method = element.getMethodName();
+                final StackTraceElement element = info.getStackTrace()[0];
+                final String className = element.getClassName();
+                final String method = element.getMethodName();
                 if (className.equals("java.lang.Object") && method.equals("wait")) {
                     sb.append(" (on object monitor");
                     if (info.getLockOwnerName() != null) {
@@ -132,9 +132,9 @@ class ExtendedThreadInformation implemen
                 break;
             }
             case TIMED_WAITING: {
-                StackTraceElement element = info.getStackTrace()[0];
-                String className = element.getClassName();
-                String method = element.getMethodName();
+                final StackTraceElement element = info.getStackTrace()[0];
+                final String className = element.getClassName();
+                final String method = element.getMethodName();
                 if (className.equals("java.lang.Object") && method.equals("wait")) {
                     sb.append(" (on object monitor");
                     if (info.getLockOwnerName() != null) {

Modified: logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/LocalizedMessage.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/LocalizedMessage.java?rev=1419697&r1=1419696&r2=1419697&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/LocalizedMessage.java (original)
+++ logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/LocalizedMessage.java Mon Dec 10 19:36:06 2012
@@ -47,37 +47,37 @@ public class LocalizedMessage extends Pa
 
     private String loggerName;
 
-    public LocalizedMessage(String messagePattern, String[] stringArgs, Throwable throwable) {
+    public LocalizedMessage(final String messagePattern, final String[] stringArgs, final Throwable throwable) {
         super(messagePattern, stringArgs, throwable);
         setup(null, null, null);
     }
 
 
-    public LocalizedMessage(String bundleId, String key, String[] stringArgs,
-                            Throwable throwable) {
+    public LocalizedMessage(final String bundleId, final String key, final String[] stringArgs,
+                            final Throwable throwable) {
         super(key, stringArgs, throwable);
         setup(bundleId, null, null);
     }
 
-    public LocalizedMessage(ResourceBundle bundle, String key, String[] stringArgs,
-                            Throwable throwable) {
+    public LocalizedMessage(final ResourceBundle bundle, final String key, final String[] stringArgs,
+                            final Throwable throwable) {
         super(key, stringArgs, throwable);
         setup(null, bundle, null);
     }
 
-    public LocalizedMessage(String bundleId, Locale locale, String key, String[] stringArgs,
-                            Throwable throwable) {
+    public LocalizedMessage(final String bundleId, final Locale locale, final String key, final String[] stringArgs,
+                            final Throwable throwable) {
         super(key, stringArgs, throwable);
         setup(bundleId, null, locale);
     }
 
-    public LocalizedMessage(ResourceBundle bundle, Locale locale, String key, String[] stringArgs,
-                            Throwable throwable) {
+    public LocalizedMessage(final ResourceBundle bundle, final Locale locale, final String key, final String[] stringArgs,
+                            final Throwable throwable) {
         super(key, stringArgs, throwable);
         setup(null, bundle, locale);
     }
 
-    public LocalizedMessage(Locale locale, String key, String[] stringArgs, Throwable throwable) {
+    public LocalizedMessage(final Locale locale, final String key, final String[] stringArgs, final Throwable throwable) {
         super(key, stringArgs, throwable);
         setup(null, null, locale);
     }
@@ -96,93 +96,93 @@ public class LocalizedMessage extends Pa
      * @param messagePattern the message pattern that to be checked for placeholders.
      * @param arguments      the argument array to be converted.
      */
-    public LocalizedMessage(String messagePattern, Object[] arguments) {
+    public LocalizedMessage(final String messagePattern, final Object[] arguments) {
         super(messagePattern, arguments);
         setup(null, null, null);
     }
 
-    public LocalizedMessage(String bundleId, String key, Object[] arguments) {
+    public LocalizedMessage(final String bundleId, final String key, final Object[] arguments) {
         super(key, arguments);
         setup(bundleId, null, null);
     }
 
-    public LocalizedMessage(ResourceBundle bundle, String key, Object[] arguments) {
+    public LocalizedMessage(final ResourceBundle bundle, final String key, final Object[] arguments) {
         super(key, arguments);
         setup(null, bundle, null);
     }
 
-    public LocalizedMessage(String bundleId, Locale locale, String key, Object[] arguments) {
+    public LocalizedMessage(final String bundleId, final Locale locale, final String key, final Object[] arguments) {
         super(key, arguments);
         setup(bundleId, null, locale);
     }
 
-    public LocalizedMessage(ResourceBundle bundle, Locale locale, String key, Object[] arguments) {
+    public LocalizedMessage(final ResourceBundle bundle, final Locale locale, final String key, final Object[] arguments) {
         super(key, arguments);
         setup(null, bundle, locale);
     }
 
-    public LocalizedMessage(Locale locale, String key, Object[] arguments) {
+    public LocalizedMessage(final Locale locale, final String key, final Object[] arguments) {
         super(key, arguments);
         setup(null, null, locale);
     }
 
-    public LocalizedMessage(String messagePattern, Object arg) {
+    public LocalizedMessage(final String messagePattern, final Object arg) {
         super(messagePattern, arg);
         setup(null, null, null);
     }
 
-    public LocalizedMessage(String bundleId, String key, Object arg) {
+    public LocalizedMessage(final String bundleId, final String key, final Object arg) {
         super(key, arg);
         setup(bundleId, null, null);
     }
 
-    public LocalizedMessage(ResourceBundle bundle, String key, Object arg) {
+    public LocalizedMessage(final ResourceBundle bundle, final String key, final Object arg) {
         super(key, arg);
         setup(null, bundle, null);
     }
 
-    public LocalizedMessage(String bundleId, Locale locale, String key, Object arg) {
+    public LocalizedMessage(final String bundleId, final Locale locale, final String key, final Object arg) {
         super(key, arg);
         setup(bundleId, null, locale);
     }
 
-    public LocalizedMessage(ResourceBundle bundle, Locale locale, String key, Object arg) {
+    public LocalizedMessage(final ResourceBundle bundle, final Locale locale, final String key, final Object arg) {
         super(key, arg);
         setup(null, bundle, locale);
     }
 
-    public LocalizedMessage(Locale locale, String key, Object arg) {
+    public LocalizedMessage(final Locale locale, final String key, final Object arg) {
         super(key, arg);
         setup(null, null, locale);
     }
 
-    public LocalizedMessage(String messagePattern, Object arg1, Object arg2) {
+    public LocalizedMessage(final String messagePattern, final Object arg1, final Object arg2) {
         super(messagePattern, arg1, arg2);
         setup(null, null, null);
     }
 
-    public LocalizedMessage(String bundleId, String key, Object arg1, Object arg2) {
+    public LocalizedMessage(final String bundleId, final String key, final Object arg1, final Object arg2) {
         super(key, arg1, arg2);
         setup(bundleId, null, null);
     }
 
-    public LocalizedMessage(ResourceBundle bundle, String key, Object arg1, Object arg2) {
+    public LocalizedMessage(final ResourceBundle bundle, final String key, final Object arg1, final Object arg2) {
         super(key, arg1, arg2);
         setup(null, bundle, null);
     }
 
-    public LocalizedMessage(String bundleId, Locale locale, String key, Object arg1, Object arg2) {
+    public LocalizedMessage(final String bundleId, final Locale locale, final String key, final Object arg1, final Object arg2) {
         super(key, arg1, arg2);
         setup(bundleId, null, locale);
     }
 
-    public LocalizedMessage(ResourceBundle bundle, Locale locale, String key, Object arg1,
-                            Object arg2) {
+    public LocalizedMessage(final ResourceBundle bundle, final Locale locale, final String key, final Object arg1,
+                            final Object arg2) {
         super(key, arg1, arg2);
         setup(null, bundle, locale);
     }
 
-    public LocalizedMessage(Locale locale, String key, Object arg1, Object arg2) {
+    public LocalizedMessage(final Locale locale, final String key, final Object arg1, final Object arg2) {
         super(key, arg1, arg2);
         setup(null, null, locale);
     }
@@ -191,7 +191,7 @@ public class LocalizedMessage extends Pa
      * Set the name of the Logger.
      * @param name The name of the Logger.
      */
-    public void setLoggerName(String name) {
+    public void setLoggerName(final String name) {
         this.loggerName = name;
     }
 
@@ -203,7 +203,7 @@ public class LocalizedMessage extends Pa
         return this.loggerName;
     }
 
-    private void setup(String bundleId, ResourceBundle bundle, Locale locale) {
+    private void setup(final String bundleId, final ResourceBundle bundle, final Locale locale) {
         this.bundleId = bundleId;
         this.bundle = bundle;
         this.locale = locale;
@@ -216,7 +216,7 @@ public class LocalizedMessage extends Pa
      * @return The formatted message String.
      */
     @Override
-    public String formatMessage(String messagePattern, String[] args) {
+    public String formatMessage(final String messagePattern, final String[] args) {
         ResourceBundle bundle = this.bundle;
         if (bundle == null) {
             if (bundleId != null) {
@@ -225,7 +225,7 @@ public class LocalizedMessage extends Pa
                 bundle = getBundle(loggerName, locale, true);
             }
         }
-        String msgPattern = (bundle == null || !bundle.containsKey(messagePattern)) ?
+        final String msgPattern = (bundle == null || !bundle.containsKey(messagePattern)) ?
             messagePattern : bundle.getString(messagePattern);
         return format(msgPattern, args);
     }
@@ -238,7 +238,7 @@ public class LocalizedMessage extends Pa
      * be located based on all or part of the package name. If false the key is expected to be the exact bundle id.
      * @return The ResourceBundle.
      */
-    protected ResourceBundle getBundle(String key, Locale locale, boolean loop) {
+    protected ResourceBundle getBundle(final String key, final Locale locale, final boolean loop) {
         ResourceBundle rb = null;
 
         if (key == null) {
@@ -250,7 +250,7 @@ public class LocalizedMessage extends Pa
             } else {
                 rb = ResourceBundle.getBundle(key);
             }
-        } catch (MissingResourceException ex) {
+        } catch (final MissingResourceException ex) {
             if (!loop) {
                 logger.debug("Unable to locate ResourceBundle " + key);
                 return null;
@@ -267,14 +267,14 @@ public class LocalizedMessage extends Pa
                 } else {
                     rb = ResourceBundle.getBundle(substr);
                 }
-            } catch (MissingResourceException ex) {
+            } catch (final MissingResourceException ex) {
                 logger.debug("Unable to locate ResourceBundle " + substr);
             }
         }
         return rb;
     }
 
-    private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
+    private void readObject(final ObjectInputStream stream) throws IOException, ClassNotFoundException {
         stream.defaultReadObject();
         bundle = null;
         logger = StatusLogger.getLogger();



Mime
View raw message