river-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peter_firmst...@apache.org
Subject svn commit: r928573 - /incubator/river/jtsk/trunk/src/org/apache/river/security/policy/util/PolicyEntry.java
Date Mon, 29 Mar 2010 02:39:36 GMT
Author: peter_firmstone
Date: Mon Mar 29 02:39:35 2010
New Revision: 928573

URL: http://svn.apache.org/viewvc?rev=928573&view=rev
Log:
Relates to River-334  PolicyEntry refactoring

Modified:
    incubator/river/jtsk/trunk/src/org/apache/river/security/policy/util/PolicyEntry.java

Modified: incubator/river/jtsk/trunk/src/org/apache/river/security/policy/util/PolicyEntry.java
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/src/org/apache/river/security/policy/util/PolicyEntry.java?rev=928573&r1=928572&r2=928573&view=diff
==============================================================================
--- incubator/river/jtsk/trunk/src/org/apache/river/security/policy/util/PolicyEntry.java
(original)
+++ incubator/river/jtsk/trunk/src/org/apache/river/security/policy/util/PolicyEntry.java
Mon Mar 29 02:39:35 2010
@@ -141,6 +141,7 @@ public class PolicyEntry {
      * PolicyEntry, may be <code>null</code>.
      */
     public Collection<Permission> getPermissions() {
+        if (permissions.isEmpty()) return null; // not sure if this is good needs further
investigation
         return permissions;
     }
 



Mime
View raw message