@@ -17,6 +17,8 @@ package com.intellij.remoteServer.agent.util; import com.intellij.remoteServer.agent.util.log.LogListener; +import java.io.OutputStream; + /** * @author michael.golubev */ @@ -25,4 +27,6 @@ public interface CloudAgentLoggingHandler { void println(String message); LogListener getOrCreateLogListener(String pipeName); + + LogListener createConsole(String pipeName, OutputStream consoleInput); }
@@ -21,6 +21,7 @@ import org.jetbrains.annotations.NotNull; import org.jetbrains.idea.svn.api.SvnClient; import org.tmatesoft.svn.core.wc2.SvnTarget; +import java.io.OutputStream; import java.util.List; /** @@ -29,4 +30,6 @@ import java.util.List; public interface DiffClient extends SvnClient { List<Change> compare(@NotNull SvnTarget target1, @NotNull SvnTarget target2) throws VcsException; + + void unifiedDiff(@NotNull SvnTarget target1, @NotNull SvnTarget target2, @NotNull OutputStream output) throws VcsException; }
@@ -12,7 +12,6 @@ import com.intellij.testFramework.PsiTestCase; import com.intellij.testFramework.PsiTestUtil; import java.io.IOException; -import java.io.OutputStream; public class ConstantValuesTest extends PsiTestCase{ private static final Logger LOG = Logger.getInstance("#com.intellij.psi.ConstantValuesTest"); @@ -67,6 +66,8 @@ public class ConstantValuesTest extends PsiTestCase{ LOG.assertTrue(file.isValid()); myClass = file.getClasses()[0]; + + LOG.assertTrue(myClass.isValid()); super.invokeTestRunnable(runnable); }
@@ -22,10 +22,13 @@ import org.gradle.api.internal.externalresource.metadata.ExternalResourceMetaDat import java.io.File; import java.io.IOException; +import java.io.OutputStream; public interface ExternalResource extends Resource { void writeTo(File destination, CopyProgressListener progress) throws IOException; + void writeTo(OutputStream destination, CopyProgressListener progress) throws IOException; + void close() throws IOException; @Nullable
@@ -15,9 +15,13 @@ */ package org.gradle; +import java.io.OutputStream; + /** * @author Hans Dockter */ public interface CommandLine2StartParameterConverter { StartParameter convert(String[] args); + + void showHelp(OutputStream out); }