From 65cd604525d0ee236bc07601c03ee09c57a9e7f4 Mon Sep 17 00:00:00 2001 From: Martin Oberhuber Date: Thu, 17 Apr 2008 10:13:57 +0000 Subject: [PATCH] [cleanup] Fix Copyright Year --- ...inalToRemoteInjectionOutputStreamTest.java | 20 +++++++++---------- ...TerminalToRemoteInjectionOutputStream.java | 20 +++++++++---------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/org.eclipse.tm.terminal.test/src/org/eclipse/tm/internal/terminal/connector/TerminalToRemoteInjectionOutputStreamTest.java b/org.eclipse.tm.terminal.test/src/org/eclipse/tm/internal/terminal/connector/TerminalToRemoteInjectionOutputStreamTest.java index 4b1d1848f4e..eb5ea841760 100644 --- a/org.eclipse.tm.terminal.test/src/org/eclipse/tm/internal/terminal/connector/TerminalToRemoteInjectionOutputStreamTest.java +++ b/org.eclipse.tm.terminal.test/src/org/eclipse/tm/internal/terminal/connector/TerminalToRemoteInjectionOutputStreamTest.java @@ -1,11 +1,11 @@ /******************************************************************************* - * Copyright (c) 2007 Wind River Systems, Inc. and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: + * Copyright (c) 2008 Wind River Systems, Inc. and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: * Michael Scharf (Wind River) - initial API and implementation *******************************************************************************/ package org.eclipse.tm.internal.terminal.connector; @@ -38,7 +38,7 @@ public class TerminalToRemoteInjectionOutputStreamTest extends TestCase { fOriginal.write(b,off,len); fOriginal.write(']'); } - + } class NullInterceptor extends TerminalToRemoteInjectionOutputStream.Interceptor { } @@ -53,7 +53,7 @@ public class TerminalToRemoteInjectionOutputStreamTest extends TestCase { os1.write('y'); s.write('B'); os1.close(); - + s.write('-'); OutputStream os=s.grabOutput(); // make sure the closed output does not inject anything @@ -91,7 +91,7 @@ public class TerminalToRemoteInjectionOutputStreamTest extends TestCase { s.write('B'); s.close(); assertEquals("begin:xyAB", new String(bs.toByteArray(),ENCODING)); - + } public void testWriteByteArray() { diff --git a/org.eclipse.tm.terminal/src/org/eclipse/tm/internal/terminal/connector/TerminalToRemoteInjectionOutputStream.java b/org.eclipse.tm.terminal/src/org/eclipse/tm/internal/terminal/connector/TerminalToRemoteInjectionOutputStream.java index f597ce0ce5c..bcca318756a 100644 --- a/org.eclipse.tm.terminal/src/org/eclipse/tm/internal/terminal/connector/TerminalToRemoteInjectionOutputStream.java +++ b/org.eclipse.tm.terminal/src/org/eclipse/tm/internal/terminal/connector/TerminalToRemoteInjectionOutputStream.java @@ -1,11 +1,11 @@ /******************************************************************************* - * Copyright (c) 2007 Wind River Systems, Inc. and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: + * Copyright (c) 2008 Wind River Systems, Inc. and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: * Michael Scharf (Wind River) - initial API and implementation *******************************************************************************/ package org.eclipse.tm.internal.terminal.connector; @@ -43,7 +43,7 @@ class TerminalToRemoteInjectionOutputStream extends FilterOutputStream { public void write(byte[] b, int off, int len) throws IOException { } /** - * The injection into the normal stream ends. + * The injection into the normal stream ends. * @throws IOException */ public void close() throws IOException { @@ -115,10 +115,10 @@ class TerminalToRemoteInjectionOutputStream extends FilterOutputStream { } } /** - * There can only be one injection stream active at a time. You must call close on the + * There can only be one injection stream active at a time. You must call close on the * returned output stream to end the injection. * @param interceptor This is used handle bytes sent while the injection stream is active. - * @return a output stream that can be used to write to the decorated stream. + * @return a output stream that can be used to write to the decorated stream. * @throws IOException */ public synchronized OutputStream grabOutput(Interceptor interceptor) throws IOException {