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/15 15:03:29 UTC
shiro git commit: SHIRO-397: applied patch
Repository: shiro
Updated Branches:
refs/heads/1.3.x 58a57fdf6 -> 7bdcc6694
SHIRO-397: applied patch
git-svn-id: https://svn.apache.org/repos/asf/shiro/trunk@1413067 13f79535-47bb-0310-9956-ffa450edef68
Project: http://git-wip-us.apache.org/repos/asf/shiro/repo
Commit: http://git-wip-us.apache.org/repos/asf/shiro/commit/7bdcc669
Tree: http://git-wip-us.apache.org/repos/asf/shiro/tree/7bdcc669
Diff: http://git-wip-us.apache.org/repos/asf/shiro/diff/7bdcc669
Branch: refs/heads/1.3.x
Commit: 7bdcc6694659c4cafa2f19e52b726f5c50ae1054
Parents: 58a57fd
Author: Les Hazlewood <lh...@apache.org>
Authored: Fri Nov 23 21:05:32 2012 +0000
Committer: Brian Demers <bd...@apache.org>
Committed: Fri Jul 15 10:58:11 2016 -0400
----------------------------------------------------------------------
.../event/support/SingleArgumentMethodEventListenerTest.groovy | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/shiro/blob/7bdcc669/core/src/test/groovy/org/apache/shiro/event/support/SingleArgumentMethodEventListenerTest.groovy
----------------------------------------------------------------------
diff --git a/core/src/test/groovy/org/apache/shiro/event/support/SingleArgumentMethodEventListenerTest.groovy b/core/src/test/groovy/org/apache/shiro/event/support/SingleArgumentMethodEventListenerTest.groovy
index aa8798a..c0424fc 100644
--- a/core/src/test/groovy/org/apache/shiro/event/support/SingleArgumentMethodEventListenerTest.groovy
+++ b/core/src/test/groovy/org/apache/shiro/event/support/SingleArgumentMethodEventListenerTest.groovy
@@ -34,7 +34,7 @@ class SingleArgumentMethodEventListenerTest {
def target = new Object()
- def method = Object.class.getMethods()[0] //any old method will do
+ def method = Object.class.getMethod("hashCode") //any method without a single arg will do
try {
//noinspection GroovyResultOfObjectAllocationIgnored