logging-commits mailing list archives

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

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

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

Modified: logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/net/JMSTopicManager.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/net/JMSTopicManager.java?rev=1396250&r1=1396249&r2=1396250&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/net/JMSTopicManager.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/net/JMSTopicManager.java
Tue Oct  9 19:54:58 2012
@@ -34,11 +34,11 @@ import java.io.Serializable;
  */
 public class JMSTopicManager extends AbstractJMSManager {
 
-    private static ManagerFactory factory = new JMSTopicManagerFactory();
+    private static final ManagerFactory factory = new JMSTopicManagerFactory();
 
-    private TopicConnection topicConnection;
-    private TopicSession topicSession;
-    private TopicPublisher topicPublisher;
+    private final TopicConnection topicConnection;
+    private final TopicSession topicSession;
+    private final TopicPublisher topicPublisher;
 
     /**
      * Constructor.



Mime
View raw message