portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r528576 - /portals/jetspeed-2/trunk/commons/src/java/org/apache/jetspeed/security/JSSubject.java
Date Fri, 13 Apr 2007 18:28:24 GMT
Author: taylor
Date: Fri Apr 13 11:28:23 2007
New Revision: 528576

URL: http://svn.apache.org/viewvc?view=rev&rev=528576
Log:
redundant logic
contribution from Tad Hadtrath

Modified:
    portals/jetspeed-2/trunk/commons/src/java/org/apache/jetspeed/security/JSSubject.java

Modified: portals/jetspeed-2/trunk/commons/src/java/org/apache/jetspeed/security/JSSubject.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/commons/src/java/org/apache/jetspeed/security/JSSubject.java?view=diff&rev=528576&r1=528575&r2=528576
==============================================================================
--- portals/jetspeed-2/trunk/commons/src/java/org/apache/jetspeed/security/JSSubject.java
(original)
+++ portals/jetspeed-2/trunk/commons/src/java/org/apache/jetspeed/security/JSSubject.java
Fri Apr 13 11:28:23 2007
@@ -104,11 +104,7 @@
     	if (subject == null)
     		subject = JSSubject.getSubject(null);
     	threadLocal.set(subject);
-    	if (subject != null)
-    		return Subject.doAs(subject,action);
-    	else
-    		return Subject.doAs(subject,action);
-    		
+    	return Subject.doAs(subject,action);	
     }
 
     /**



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


Mime
View raw message