cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From owu...@apache.org
Subject svn commit: r1401048 - in /cxf/fediz/trunk/examples: simpleWebapp/src/main/java/org/apache/cxf/fediz/example/SecurityTokenThreadLocal.java wsclientWebapp/webapp/src/main/java/org/apache/cxf/fediz/example/SecurityTokenThreadLocal.java
Date Mon, 22 Oct 2012 19:45:30 GMT
Author: owulff
Date: Mon Oct 22 19:45:30 2012
New Revision: 1401048

URL: http://svn.apache.org/viewvc?rev=1401048&view=rev
Log:
Avoid creation of anonymous subclass of ThreadLocal

Modified:
    cxf/fediz/trunk/examples/simpleWebapp/src/main/java/org/apache/cxf/fediz/example/SecurityTokenThreadLocal.java
    cxf/fediz/trunk/examples/wsclientWebapp/webapp/src/main/java/org/apache/cxf/fediz/example/SecurityTokenThreadLocal.java

Modified: cxf/fediz/trunk/examples/simpleWebapp/src/main/java/org/apache/cxf/fediz/example/SecurityTokenThreadLocal.java
URL: http://svn.apache.org/viewvc/cxf/fediz/trunk/examples/simpleWebapp/src/main/java/org/apache/cxf/fediz/example/SecurityTokenThreadLocal.java?rev=1401048&r1=1401047&r2=1401048&view=diff
==============================================================================
--- cxf/fediz/trunk/examples/simpleWebapp/src/main/java/org/apache/cxf/fediz/example/SecurityTokenThreadLocal.java
(original)
+++ cxf/fediz/trunk/examples/simpleWebapp/src/main/java/org/apache/cxf/fediz/example/SecurityTokenThreadLocal.java
Mon Oct 22 19:45:30 2012
@@ -28,8 +28,7 @@ import org.w3c.dom.Element;
 public final class SecurityTokenThreadLocal {
 
     private static final ThreadLocal<Element> TLS = 
-        new ThreadLocal<Element>() {
-        };
+        new ThreadLocal<Element>();
 
     private SecurityTokenThreadLocal() {
     }    

Modified: cxf/fediz/trunk/examples/wsclientWebapp/webapp/src/main/java/org/apache/cxf/fediz/example/SecurityTokenThreadLocal.java
URL: http://svn.apache.org/viewvc/cxf/fediz/trunk/examples/wsclientWebapp/webapp/src/main/java/org/apache/cxf/fediz/example/SecurityTokenThreadLocal.java?rev=1401048&r1=1401047&r2=1401048&view=diff
==============================================================================
--- cxf/fediz/trunk/examples/wsclientWebapp/webapp/src/main/java/org/apache/cxf/fediz/example/SecurityTokenThreadLocal.java
(original)
+++ cxf/fediz/trunk/examples/wsclientWebapp/webapp/src/main/java/org/apache/cxf/fediz/example/SecurityTokenThreadLocal.java
Mon Oct 22 19:45:30 2012
@@ -28,8 +28,7 @@ import org.w3c.dom.Element;
 public final class SecurityTokenThreadLocal {
 
     private static final ThreadLocal<Element> TLS = 
-        new ThreadLocal<Element>() {
-        };
+        new ThreadLocal<Element>();
 
     private SecurityTokenThreadLocal() {
     }    



Mime
View raw message