Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.osgi/console/src/org/eclipse/osgi/framework/internal/core/ConsoleManager.java')
-rw-r--r--bundles/org.eclipse.osgi/console/src/org/eclipse/osgi/framework/internal/core/ConsoleManager.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/bundles/org.eclipse.osgi/console/src/org/eclipse/osgi/framework/internal/core/ConsoleManager.java b/bundles/org.eclipse.osgi/console/src/org/eclipse/osgi/framework/internal/core/ConsoleManager.java
index c4875099c..a40f24e56 100644
--- a/bundles/org.eclipse.osgi/console/src/org/eclipse/osgi/framework/internal/core/ConsoleManager.java
+++ b/bundles/org.eclipse.osgi/console/src/org/eclipse/osgi/framework/internal/core/ConsoleManager.java
@@ -86,7 +86,7 @@ public class ConsoleManager implements ServiceTrackerCustomizer {
public static final String PROP_CONSOLE = "osgi.console"; //$NON-NLS-1$
private static final String PROP_SYSTEM_IN_OUT = "console.systemInOut"; //$NON-NLS-1$
private static final String CONSOLE_NAME = "OSGi Console"; //$NON-NLS-1$
- private final Framework framework;
+ final Framework framework;
private final ServiceTracker cpTracker;
private final ServiceTracker sessions;
private final String consolePort;
@@ -125,11 +125,17 @@ public class ConsoleManager implements ServiceTrackerCustomizer {
}
if (port < 0) {
InputStream in = new FilterInputStream(System.in) {
+ /**
+ * @throws IOException
+ */
public void close() throws IOException {
// We don't want to close System.in
}
};
OutputStream out = new FilterOutputStream(System.out) {
+ /**
+ * @throws IOException
+ */
public void close() throws IOException {
// We don't want to close System.out
}

Back to the top