Follow up cleanups to LUCENE-5622.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591279 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Dawid Weiss 2014-04-30 12:51:24 +00:00
parent ce69d26f8d
commit 13767516ca
2 changed files with 7 additions and 5 deletions

View File

@ -123,6 +123,11 @@ Bug fixes
* LUCENE-5559: Add additional argument validation for CapitalizationFilter
and CodepointCountFilter. (Ahmet Arslan via Robert Muir)
Test Framework
* LUCENE-5622: Fail tests if they print over the given limit of bytes to
System.out or System.err. (Robert Muir, Dawid Weiss)
======================= Lucene 4.8.0 =======================
System Requirements

View File

@ -192,8 +192,8 @@ public class TestRuleLimitSysouts extends TestRuleAdapter {
}
/**
* We're only interested in failing the suite if it was successful. Otherwise
* just propagate the original problem and don't bother.
* We're only interested in failing the suite if it was successful (otherwise
* just propagate the original problem and don't bother doing anything else).
*/
@Override
protected void afterIfSuccessful() throws Throwable {
@ -219,9 +219,6 @@ public class TestRuleLimitSysouts extends TestRuleAdapter {
}
}
/**
* Restore original streams.
*/
@Override
protected void afterAlways(List<Throwable> errors) throws Throwable {
resetCaptureState();