Skip to content

Commit b34408a

Browse files
committed
Fixed testcase to use Adapter instead of interface
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/io/trunk@1714088 13f79535-47bb-0310-9956-ffa450edef68
1 parent 2228793 commit b34408a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/test/java/org/apache/commons/io/input/TailerTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ public void testIO335() throws Exception { // test CR behaviour
436436
/**
437437
* Test {@link TailerListener} implementation.
438438
*/
439-
private static class TestTailerListener implements TailerListener {
439+
private static class TestTailerListener extends TailerListenerAdapter {
440440

441441
// Must be synchronised because it is written by one thread and read by another
442442
private final List<String> lines = Collections.synchronizedList(new ArrayList<String>());

0 commit comments

Comments
 (0)