Permalink
Browse files

Merge pull request #470 from galmeida/master

compatibility with recent versions of guava
  • Loading branch information...
2 parents 4270edd + d73dde0 commit 1612b8f561589904680844990f9b9efe188f3535 @lucascs lucascs committed Oct 22, 2012
@@ -25,7 +25,7 @@
import br.com.caelum.vraptor.ioc.ApplicationScoped;
import br.com.caelum.vraptor.resource.ResourceMethod;
-import com.google.common.collect.Iterables;
+import com.google.common.collect.Lists;
/**
* Extracts all interceptors which are supposed to be applied for this current
@@ -49,7 +49,7 @@ public InterceptorListPriorToExecutionExtractor(InterceptorRegistry registry) {
}
public void intercept(InterceptorStack stack, ResourceMethod method, Object resourceInstance) throws InterceptionException {
- for (Class<? extends Interceptor> type : Iterables.reverse(registry.all())) {
+ for (Class<? extends Interceptor> type : Lists.reverse(registry.all())) {
stack.addAsNext(type);
}
stack.next(method, resourceInstance);

0 comments on commit 1612b8f

Please sign in to comment.