logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1516487 - /logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/layout/RFC5424Layout.java
Date Thu, 22 Aug 2013 15:36:11 GMT
Author: ggregory
Date: Thu Aug 22 15:36:11 2013
New Revision: 1516487

URL: http://svn.apache.org/r1516487
Log:
Avoid boxing and unboxing by using int instead of Integer for the enterprise ID.

Modified:
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/layout/RFC5424Layout.java

Modified: logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/layout/RFC5424Layout.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/layout/RFC5424Layout.java?rev=1516487&r1=1516486&r2=1516487&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/layout/RFC5424Layout.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/layout/RFC5424Layout.java
Thu Aug 22 15:36:11 2013
@@ -87,7 +87,7 @@ public final class RFC5424Layout extends
 
     private final Facility facility;
     private final String defaultId;
-    private final Integer enterpriseNumber;
+    private final int enterpriseNumber;
     private final boolean includeMDC;
     private final String mdcId;
     private final String localHostName;



Mime
View raw message