Skip to content
Permalink
Browse files
[JENKINS-20892] Noting that RunList.getFirstBuild (used by BuildTimel…
…ineWidget) breaks lazy loading.
  • Loading branch information
jglick committed Dec 5, 2013
1 parent 9cb0638 commit a586609c4a2f2083a7f40a6055776afbf2b1f1c7
Showing with 2 additions and 0 deletions.
  1. +2 −0 core/src/main/java/hudson/util/RunList.java
@@ -167,6 +167,8 @@ public boolean isEmpty() {
return !iterator().hasNext();
}

/** @deprecated see {@link #size()} for why this violates lazy-loading */
@Deprecated
public R getFirstBuild() {
size();
return first;

0 comments on commit a586609

Please sign in to comment.