From: incastrix Date: Wed, 23 Dec 2009 17:38:27 +0000 (+0000) Subject: Refactory: remove unused classes, imports, fields and methods. X-Git-Url: http://git.phpeclipse.com Refactory: remove unused classes, imports, fields and methods. --- diff --git a/net.sourceforge.phpeclipse.ui/src/net/sourceforge/phpeclipse/wizards/html/ElementWriter.java b/net.sourceforge.phpeclipse.ui/src/net/sourceforge/phpeclipse/wizards/html/ElementWriter.java index 8bd46ee..243b44e 100644 --- a/net.sourceforge.phpeclipse.ui/src/net/sourceforge/phpeclipse/wizards/html/ElementWriter.java +++ b/net.sourceforge.phpeclipse.ui/src/net/sourceforge/phpeclipse/wizards/html/ElementWriter.java @@ -4,9 +4,9 @@ */ package net.sourceforge.phpeclipse.wizards.html; -import java.io.IOException; -import java.io.OutputStream; -import java.io.OutputStreamWriter; +//import java.io.IOException; +//import java.io.OutputStream; +//import java.io.OutputStreamWriter; import java.util.HashMap; import org.w3c.dom.Element; @@ -64,17 +64,17 @@ public class ElementWriter { return buff.toString(); } - public void writeTag(Element element, OutputStream out) throws IOException { - OutputStreamWriter writer = new OutputStreamWriter(out); - try { - writer.write("\n\n"); - writer.write(new ElementWriter().expandTag(element)); - } finally { - if (writer != null) { - writer.close(); - } - } - } +// public void writeTag(Element element, OutputStream out) throws IOException { +// OutputStreamWriter writer = new OutputStreamWriter(out); +// try { +// writer.write("\n\n"); +// writer.write(new ElementWriter().expandTag(element)); +// } finally { +// if (writer != null) { +// writer.close(); +// } +// } +// } void expandTag(Element element, int level, StringBuffer buff) { expandIndent(level, buff); @@ -130,12 +130,12 @@ public class ElementWriter { } } - public int getDefaultExpandOption() { - return defaultExpandOption; - } +// public int getDefaultExpandOption() { +// return defaultExpandOption; +// } - public void setDefaultExpandOption(int i) { - defaultExpandOption = i; - } +// public void setDefaultExpandOption(int i) { +// defaultExpandOption = i; +// } } \ No newline at end of file