get rid of yellow code

This commit is contained in:
Sergey Simonchik
2014-09-24 00:03:29 +04:00
parent faf8bc77da
commit 28a051b26a
@@ -42,15 +42,7 @@ public class TestsOutputConsolePrinter implements Printer, Disposable {
};
public TestsOutputConsolePrinter(@NotNull BaseTestsOutputConsoleView testsOutputConsoleView, final TestConsoleProperties properties, final AbstractTestProxy unboundOutputRoot) {
this(testsOutputConsoleView.getConsole(), properties, unboundOutputRoot);
}
/**
* @deprecated left for JSTestDriver compatibility
*/
@Deprecated
public TestsOutputConsolePrinter(final ConsoleView console, final TestConsoleProperties properties, final AbstractTestProxy unboundOutputRoot) {
myConsole = console;
myConsole = testsOutputConsoleView.getConsole();
myProperties = properties;
myUnboundOutputRoot = unboundOutputRoot;
myProperties.addListener(TestConsoleProperties.SCROLL_TO_STACK_TRACE, myPropertyListener);
@@ -148,7 +140,7 @@ public class TestsOutputConsolePrinter implements Printer, Disposable {
}
public boolean canPause() {
return myCurrentTest != null ? myCurrentTest.isInProgress() : false;
return myCurrentTest != null && myCurrentTest.isInProgress();
}
protected void scrollToBeginning() {