[jboss-cvs] JBossAS SVN: r57473 - branches/JEE5_TCK/server/src/main/org/jboss/web
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Fri Oct 6 13:13:47 EDT 2006
Author: anil.saldhana at jboss.com
Date: 2006-10-06 13:13:46 -0400 (Fri, 06 Oct 2006)
New Revision: 57473
Modified:
branches/JEE5_TCK/server/src/main/org/jboss/web/WebPermissionMapping.java
Log:
overcome NPE
Modified: branches/JEE5_TCK/server/src/main/org/jboss/web/WebPermissionMapping.java
===================================================================
--- branches/JEE5_TCK/server/src/main/org/jboss/web/WebPermissionMapping.java 2006-10-06 17:10:48 UTC (rev 57472)
+++ branches/JEE5_TCK/server/src/main/org/jboss/web/WebPermissionMapping.java 2006-10-06 17:13:46 UTC (rev 57473)
@@ -217,7 +217,7 @@
//If the transport is "NONE", then add an exlusive WebUserDataPermission
//with the url pattern and null
- if(transport.equals("NONE"))
+ if("NONE".equals(transport))
{
WebUserDataPermission wudp1 = new WebUserDataPermission(info.pattern, null);
pc.addToUncheckedPolicy(wudp1);
More information about the jboss-cvs-commits
mailing list