[jenkins] 21/22: Compatibility patch for guava >= 0.14
James Downing Page
jamespage at alioth.debian.org
Tue Aug 13 11:47:04 UTC 2013
This is an automated email from the git hooks/post-receive script.
jamespage pushed a commit to branch patch-queue/master
in repository jenkins.
commit 6992e6dc2e9d45cf971acd7d786221e24758bb79
Author: James Page <james.page at ubuntu.com>
Date: Mon Aug 12 14:52:31 2013 +0100
Compatibility patch for guava >= 0.14
Iterations.skip -> Iterators.advance
---
core/src/main/java/hudson/util/RunList.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/src/main/java/hudson/util/RunList.java b/core/src/main/java/hudson/util/RunList.java
index 25f7dea..cb35d2c 100644
--- a/core/src/main/java/hudson/util/RunList.java
+++ b/core/src/main/java/hudson/util/RunList.java
@@ -138,7 +138,7 @@ public class RunList<R extends Run> extends AbstractList<R> {
public List<R> subList(int fromIndex, int toIndex) {
List<R> r = new ArrayList<R>();
Iterator<R> itr = iterator();
- Iterators.skip(itr,fromIndex);
+ Iterators.advance(itr,fromIndex);
for (int i=toIndex-fromIndex; i>0; i--) {
r.add(itr.next());
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jenkins.git
More information about the pkg-java-commits
mailing list