[yocto] [RFC refactor 04/21] Remove unsed methods & inner classes from ShellSession

Ioana Grigoropol ioanax.grigoropol at intel.com
Wed Jun 5 10:00:05 PDT 2013


Signed-off-by: Ioana Grigoropol <ioanax.grigoropol at intel.com>
---
 .../src/org/yocto/bc/bitbake/ShellSession.java     |   20 --------------------
 1 file changed, 20 deletions(-)

diff --git a/plugins/org.yocto.bc.ui/src/org/yocto/bc/bitbake/ShellSession.java b/plugins/org.yocto.bc.ui/src/org/yocto/bc/bitbake/ShellSession.java
index 4e8dd47..8760503 100644
--- a/plugins/org.yocto.bc.ui/src/org/yocto/bc/bitbake/ShellSession.java
+++ b/plugins/org.yocto.bc.ui/src/org/yocto/bc/bitbake/ShellSession.java
@@ -130,11 +130,6 @@ public class ShellSession {
 				+ exportColumnsCmd + ";" + "cd " + getBuildDirAbsolutePath()
 				+ ";";
 	}
-
-synchronized 
-	public void execute(String command, ICommandResponseHandler handler) throws IOException {
-		execute(command, TERMINATOR, handler);
-	}
 	
 	synchronized 
 	public void execute(String command, String terminator, ICommandResponseHandler handler) throws IOException {
@@ -207,21 +202,6 @@ synchronized
 		interrupt = true;
 	}
 	
-	private class NullWriter extends Writer {
-
-		@Override
-		public void close() throws IOException {			
-		}
-
-		@Override
-		public void flush() throws IOException {			
-		}
-
-		@Override
-		public void write(char[] cbuf, int off, int len) throws IOException {			
-		}
-		
-	}
 	public void printError(String errorLines) {
 		RemoteHelper.getCommandHandler(projectInfo.getConnection()).response(errorLines, true);
 	}
-- 
1.7.9.5




More information about the yocto mailing list