You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shiro.apache.org by lh...@apache.org on 2010/05/14 07:06:15 UTC
svn commit: r944111 -
/incubator/shiro/trunk/core/src/main/java/org/apache/shiro/subject/support/SubjectRunnable.java
Author: lhazlewood
Date: Fri May 14 05:06:14 2010
New Revision: 944111
URL: http://svn.apache.org/viewvc?rev=944111&view=rev
Log:
Ensured that the SubjectRunnable.doRun mirrored the method signature of SubjectCallable.doCall for consistency
Modified:
incubator/shiro/trunk/core/src/main/java/org/apache/shiro/subject/support/SubjectRunnable.java
Modified: incubator/shiro/trunk/core/src/main/java/org/apache/shiro/subject/support/SubjectRunnable.java
URL: http://svn.apache.org/viewvc/incubator/shiro/trunk/core/src/main/java/org/apache/shiro/subject/support/SubjectRunnable.java?rev=944111&r1=944110&r2=944111&view=diff
==============================================================================
--- incubator/shiro/trunk/core/src/main/java/org/apache/shiro/subject/support/SubjectRunnable.java (original)
+++ incubator/shiro/trunk/core/src/main/java/org/apache/shiro/subject/support/SubjectRunnable.java Fri May 14 05:06:14 2010
@@ -47,13 +47,13 @@ public class SubjectRunnable implements
public void run() {
try {
threadState.bind();
- doRun();
+ doRun(this.runnable);
} finally {
threadState.restore();
}
}
- protected void doRun() {
- this.runnable.run();
+ protected void doRun(Runnable runnable) {
+ runnable.run();
}
}