[yocto] [RFC Refactor 1/5] Remove unused ConsoleWriter
Ioana Grigoropol
ioanax.grigoropol at intel.com
Thu Jun 6 05:47:31 PDT 2013
- remove unused inner class ConsoleWriter from InstallWizard
Signed-off-by: Ioana Grigoropol <ioanax.grigoropol at intel.com>
---
.../yocto/bc/ui/wizards/install/InstallWizard.java | 33 --------------------
1 file changed, 33 deletions(-)
diff --git a/plugins/org.yocto.bc.ui/src/org/yocto/bc/ui/wizards/install/InstallWizard.java b/plugins/org.yocto.bc.ui/src/org/yocto/bc/ui/wizards/install/InstallWizard.java
index f4bc99b..1fc90a4 100644
--- a/plugins/org.yocto.bc.ui/src/org/yocto/bc/ui/wizards/install/InstallWizard.java
+++ b/plugins/org.yocto.bc.ui/src/org/yocto/bc/ui/wizards/install/InstallWizard.java
@@ -198,37 +198,4 @@ public class InstallWizard extends FiniteStateWizard implements
public void init(IWorkbench workbench, IStructuredSelection selection) {
}
- private class ConsoleWriter extends Writer {
-
- private StringBuffer sb;
-
- public ConsoleWriter() {
- sb = new StringBuffer();
- }
-
- @Override
- public void close() throws IOException {
- }
-
- public String getContents() {
- return sb.toString();
- }
-
- @Override
- public void flush() throws IOException {
- }
-
- @Override
- public void write(char[] cbuf, int off, int len) throws IOException {
- // txtConsole.getText().concat(new String(cbuf));
- sb.append(cbuf);
- }
-
- @Override
- public void write(String str) throws IOException {
- sb.append(str);
- }
-
- }
-
}
--
1.7.9.5
More information about the yocto
mailing list