You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2012/04/01 15:37:38 UTC
svn commit: r1308114 -
/commons/proper/io/trunk/src/test/java/org/apache/commons/io/input/TailerTest.java
Author: ggregory
Date: Sun Apr 1 13:37:37 2012
New Revision: 1308114
URL: http://svn.apache.org/viewvc?rev=1308114&view=rev
Log:
Formatting.
Modified:
commons/proper/io/trunk/src/test/java/org/apache/commons/io/input/TailerTest.java
Modified: commons/proper/io/trunk/src/test/java/org/apache/commons/io/input/TailerTest.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/java/org/apache/commons/io/input/TailerTest.java?rev=1308114&r1=1308113&r2=1308114&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/java/org/apache/commons/io/input/TailerTest.java (original)
+++ commons/proper/io/trunk/src/test/java/org/apache/commons/io/input/TailerTest.java Sun Apr 1 13:37:37 2012
@@ -255,21 +255,27 @@ public class TailerTest extends FileBase
public void handle(String line) {
lines.add(line);
}
+
public List<String> getLines() {
return lines;
}
+
public void clear() {
lines.clear();
}
+
public void handle(Exception e) {
exception = e;
}
+
public void init(Tailer tailer) {
initialised++; // not atomic, but OK because only updated here.
}
+
public void fileNotFound() {
notFound++; // not atomic, but OK because only updated here.
}
+
public void fileRotated() {
rotated++; // not atomic, but OK because only updated here.
}