You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@river.apache.org by pe...@apache.org on 2010/03/29 04:39:36 UTC

svn commit: r928573 - /incubator/river/jtsk/trunk/src/org/apache/river/security/policy/util/PolicyEntry.java

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;
     }