You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shiro.apache.org by bd...@apache.org on 2016/07/06 18:53:42 UTC

shiro git commit: SHIRO-480: Remove the wrong assignment to this.targets

Repository: shiro
Updated Branches:
  refs/heads/master 5be8e710f -> 9a4de3bba


SHIRO-480: Remove the wrong assignment to this.targets

Fixes #22, SHIRO-480


Project: http://git-wip-us.apache.org/repos/asf/shiro/repo
Commit: http://git-wip-us.apache.org/repos/asf/shiro/commit/9a4de3bb
Tree: http://git-wip-us.apache.org/repos/asf/shiro/tree/9a4de3bb
Diff: http://git-wip-us.apache.org/repos/asf/shiro/diff/9a4de3bb

Branch: refs/heads/master
Commit: 9a4de3bba6fa353c3b99f4f1eb127346cfd57e7c
Parents: 5be8e71
Author: Andreas Kohn <an...@gmail.com>
Authored: Fri Oct 9 12:03:14 2015 +0200
Committer: Brian Demers <bd...@apache.org>
Committed: Wed Jul 6 14:47:43 2016 -0400

----------------------------------------------------------------------
 .../java/org/apache/shiro/authz/permission/DomainPermission.java    | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/shiro/blob/9a4de3bb/core/src/main/java/org/apache/shiro/authz/permission/DomainPermission.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/shiro/authz/permission/DomainPermission.java b/core/src/main/java/org/apache/shiro/authz/permission/DomainPermission.java
index 665454b..f5a28fd 100644
--- a/core/src/main/java/org/apache/shiro/authz/permission/DomainPermission.java
+++ b/core/src/main/java/org/apache/shiro/authz/permission/DomainPermission.java
@@ -131,7 +131,6 @@ public class DomainPermission extends WildcardPermission {
     }
 
     protected void setTargets(Set<String> targets) {
-        this.targets = targets;
         if (this.targets != null && this.targets.equals(targets)) {
             return;
         }