logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1520022 - /logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/layout/RFC5424Layout.java
Date Wed, 04 Sep 2013 13:46:26 GMT
Author: ggregory
Date: Wed Sep  4 13:46:26 2013
New Revision: 1520022

URL: http://svn.apache.org/r1520022
Log:
Fix boxing/unboxing by changing org.apache.logging.log4j.core.layout.RFC5424Layout.enterpriseNumber
from Integer to int. A valid int is always passed in.

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

Modified: logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/layout/RFC5424Layout.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/layout/RFC5424Layout.java?rev=1520022&r1=1520021&r2=1520022&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/layout/RFC5424Layout.java
(original)
+++ logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/layout/RFC5424Layout.java
Wed Sep  4 13:46:26 2013
@@ -91,7 +91,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 StructuredDataId mdcSDID;



Mime
View raw message