shiro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lhazlew...@apache.org
Subject svn commit: r1413067 - /shiro/trunk/core/src/test/groovy/org/apache/shiro/event/bus/SingleArgumentMethodEventListenerTest.groovy
Date Fri, 23 Nov 2012 21:05:33 GMT
Author: lhazlewood
Date: Fri Nov 23 21:05:32 2012
New Revision: 1413067

URL: http://svn.apache.org/viewvc?rev=1413067&view=rev
Log:
SHIRO-397: applied patch

Modified:
    shiro/trunk/core/src/test/groovy/org/apache/shiro/event/bus/SingleArgumentMethodEventListenerTest.groovy

Modified: shiro/trunk/core/src/test/groovy/org/apache/shiro/event/bus/SingleArgumentMethodEventListenerTest.groovy
URL: http://svn.apache.org/viewvc/shiro/trunk/core/src/test/groovy/org/apache/shiro/event/bus/SingleArgumentMethodEventListenerTest.groovy?rev=1413067&r1=1413066&r2=1413067&view=diff
==============================================================================
--- shiro/trunk/core/src/test/groovy/org/apache/shiro/event/bus/SingleArgumentMethodEventListenerTest.groovy
(original)
+++ shiro/trunk/core/src/test/groovy/org/apache/shiro/event/bus/SingleArgumentMethodEventListenerTest.groovy
Fri Nov 23 21:05:32 2012
@@ -29,7 +29,7 @@ class SingleArgumentMethodEventListenerT
 
         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



Mime
View raw message