commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject svn commit: r1091492 - /commons/proper/proxy/branches/version-2.0-work/stub/src/main/java/org/apache/commons/proxy2/stub/StubInterceptor.java
Date Tue, 12 Apr 2011 16:18:40 GMT
Author: mbenson
Date: Tue Apr 12 16:18:39 2011
New Revision: 1091492

URL: http://svn.apache.org/viewvc?rev=1091492&view=rev
Log:
adapt to changing Pair API again

Modified:
    commons/proper/proxy/branches/version-2.0-work/stub/src/main/java/org/apache/commons/proxy2/stub/StubInterceptor.java

Modified: commons/proper/proxy/branches/version-2.0-work/stub/src/main/java/org/apache/commons/proxy2/stub/StubInterceptor.java
URL: http://svn.apache.org/viewvc/commons/proper/proxy/branches/version-2.0-work/stub/src/main/java/org/apache/commons/proxy2/stub/StubInterceptor.java?rev=1091492&r1=1091491&r2=1091492&view=diff
==============================================================================
--- commons/proper/proxy/branches/version-2.0-work/stub/src/main/java/org/apache/commons/proxy2/stub/StubInterceptor.java
(original)
+++ commons/proper/proxy/branches/version-2.0-work/stub/src/main/java/org/apache/commons/proxy2/stub/StubInterceptor.java
Tue Apr 12 16:18:39 2011
@@ -118,8 +118,8 @@ abstract class StubInterceptor implement
                 }
             } else {
                 for (Pair<InvocationMatcher, ? extends Result> pair : matchingResultStack)
{
-                    if (pair.getLeftElement().matches(invocation)) {
-                        return pair.getRightElement().getResult();
+                    if (pair.getLeft().matches(invocation)) {
+                        return pair.getRight().getResult();
                     }
                 }
             }



Mime
View raw message