james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adup...@apache.org
Subject [12/34] james-project git commit: JAMES-2085 Remove unneeded comments in MimeMessageCopyOnWriteProxy
Date Wed, 05 Jul 2017 13:59:19 GMT
JAMES-2085 Remove unneeded comments in MimeMessageCopyOnWriteProxy


Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/ec72dbfa
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/ec72dbfa
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/ec72dbfa

Branch: refs/heads/master
Commit: ec72dbfade66d7d4a642c2036a28b95dd03b9824
Parents: 0ddf44b
Author: benwa <btellier@linagora.com>
Authored: Mon Jul 3 15:40:33 2017 +0700
Committer: benwa <btellier@linagora.com>
Committed: Wed Jul 5 17:13:47 2017 +0700

----------------------------------------------------------------------
 .../james/core/MimeMessageCopyOnWriteProxy.java       | 14 --------------
 1 file changed, 14 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/ec72dbfa/server/container/core/src/main/java/org/apache/james/core/MimeMessageCopyOnWriteProxy.java
----------------------------------------------------------------------
diff --git a/server/container/core/src/main/java/org/apache/james/core/MimeMessageCopyOnWriteProxy.java
b/server/container/core/src/main/java/org/apache/james/core/MimeMessageCopyOnWriteProxy.java
index 67dc405..f75d7dd 100644
--- a/server/container/core/src/main/java/org/apache/james/core/MimeMessageCopyOnWriteProxy.java
+++ b/server/container/core/src/main/java/org/apache/james/core/MimeMessageCopyOnWriteProxy.java
@@ -67,24 +67,10 @@ public class MimeMessageCopyOnWriteProxy extends MimeMessage implements
Disposab
         }
 
         protected synchronized void incrementReferenceCount() {
-            /*
-             * Used to track references while debugging try { throw new
-             * Exception("incrementReferenceCount: "+(wrapped != null ?
-             * System.identityHashCode(wrapped)+"" :
-             * "null")+" ["+referenceCount+"]"); } catch (Exception e) {
-             * e.printStackTrace(); }
-             */
             referenceCount++;
         }
 
         protected synchronized void decrementReferenceCount() {
-            /*
-             * Used to track references while debugging try { throw new
-             * Exception("decrementReferenceCount: "+(wrapped != null ?
-             * System.identityHashCode(wrapped)+"" :
-             * "null")+" ["+referenceCount+"]"); } catch (Exception e) {
-             * e.printStackTrace(); }
-             */
             referenceCount--;
             if (referenceCount <= 0) {
                 LifecycleUtil.dispose(wrapped);


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message