Skip to content

Commit

Permalink
[FIXED JENKINS-9120] RingBufferLogHandler has int that needs to be re…
Browse files Browse the repository at this point in the history
…set.

(cherry picked from commit 6783886)
  • Loading branch information
Josh Gibbs authored and olivergondza committed Jan 5, 2014
1 parent 754ef75 commit 9cc2bc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/hudson/util/RingBufferLogHandler.java
Expand Up @@ -51,7 +51,7 @@ public synchronized void publish(LogRecord record) {
int len = records.length;
records[(start+size)%len]=record;
if(size==len) {
start++;
start = (start+1)%len;
} else {
size++;
}
Expand Down

0 comments on commit 9cc2bc2

Please sign in to comment.