This commit is contained in:
Vladimir Krivosheev
2014-02-14 08:38:29 +01:00
parent c90cd8eb1b
commit ed6b710e6e
6 changed files with 6 additions and 6 deletions
@@ -22,7 +22,7 @@ import com.intellij.openapi.actionSystem.AnAction;
import org.jetbrains.annotations.NotNull;
public interface ConsoleView extends ExecutionConsole {
void print(String s, ConsoleViewContentType contentType);
void print(@NotNull String s, @NotNull ConsoleViewContentType contentType);
void clear();
@@ -528,7 +528,7 @@ public class ConsoleViewImpl extends JPanel implements ConsoleView, ObservableCo
}
@Override
public void print(String s, final ConsoleViewContentType contentType) {
public void print(@NotNull String s, @NotNull ConsoleViewContentType contentType) {
if (myInputMessageFilter == null) {
printHyperlink(s, contentType, null);
return;
@@ -100,7 +100,7 @@ public class SMTRunnerConsoleView extends BaseTestsOutputConsoleView {
* @param contentType given type
*/
@Override
public void print(final String s, final ConsoleViewContentType contentType) {
public void print(@NotNull final String s, @NotNull final ConsoleViewContentType contentType) {
myResultsViewer.getRoot().addLast(new Printable() {
public void printOn(final Printer printer) {
printer.print(s, contentType);
@@ -63,7 +63,7 @@ public abstract class BaseTestsOutputConsoleView implements ConsoleView, Observa
myConsole.attachToProcess(processHandler);
}
public void print(final String s, final ConsoleViewContentType contentType) {
public void print(@NotNull final String s, @NotNull final ConsoleViewContentType contentType) {
printNew(new Printable() {
public void printOn(final Printer printer) {
printer.print(s, contentType);
@@ -186,7 +186,7 @@ public class PythonConsoleView extends JPanel implements LanguageConsoleView, Ob
myLanguageConsoleView.print(text, outputType);
}
public void print(String text, final ConsoleViewContentType outputType) {
public void print(@NotNull String text, @NotNull final ConsoleViewContentType outputType) {
detectIPython(text, outputType);
if (PyConsoleUtil.detectIPythonEnd(text)) {
myIsIPythonOutput = false;
@@ -141,7 +141,7 @@ public class PythonDebugLanguageConsoleView extends JPanel implements ConsoleVie
}
@Override
public void print(String s, ConsoleViewContentType contentType) {
public void print(@NotNull String s, @NotNull ConsoleViewContentType contentType) {
myPydevConsoleView.print(s, contentType);
myTextConsole.print(s, contentType);
}