logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1396249 - /logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/net/JMSQueueManager.java
Date Tue, 09 Oct 2012 19:54:23 GMT
Author: ggregory
Date: Tue Oct  9 19:54:23 2012
New Revision: 1396249

URL: http://svn.apache.org/viewvc?rev=1396249&view=rev
Log:
Make ivars and svar final.

Modified:
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/net/JMSQueueManager.java

Modified: logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/net/JMSQueueManager.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/net/JMSQueueManager.java?rev=1396249&r1=1396248&r2=1396249&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/net/JMSQueueManager.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/net/JMSQueueManager.java
Tue Oct  9 19:54:23 2012
@@ -34,11 +34,11 @@ import java.io.Serializable;
  */
 public class JMSQueueManager extends AbstractJMSManager {
 
-    private static ManagerFactory factory = new JMSQueueManagerFactory();
+    private static final ManagerFactory factory = new JMSQueueManagerFactory();
 
-    private QueueConnection queueConnection;
-    private QueueSession queueSession;
-    private QueueSender queueSender;
+    private final QueueConnection queueConnection;
+    private final QueueSession queueSession;
+    private final QueueSender queueSender;
 
     /**
      * The Constructor.



Mime
View raw message