From: mh Date: Tue, 5 Feb 2002 22:29:46 +0000 (+0000) Subject: commented out encodeHTML.. let's see ow it goes. we should save some cpu X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=dbdd6cc8a117499dae1f0fa780a7dfa9820a9d31;p=mir.git commented out encodeHTML.. let's see ow it goes. we should save some cpu while producing. --- diff --git a/source/mir/storage/Database.java b/source/mir/storage/Database.java index 893aa923..f4aa63fd 100755 --- a/source/mir/storage/Database.java +++ b/source/mir/storage/Database.java @@ -216,13 +216,13 @@ public class Database implements StorageObject { break; case java.sql.Types.CHAR:case java.sql.Types.VARCHAR:case java.sql.Types.LONGVARCHAR: outValue = rs.getString(valueIndex); - if (outValue != null) - outValue = StringUtil.encodeHtml(StringUtil.unquote(outValue)); + //if (outValue != null) + //outValue = StringUtil.encodeHtml(StringUtil.unquote(outValue)); break; case java.sql.Types.LONGVARBINARY: outValue = rs.getString(valueIndex); - if (outValue != null) - outValue = StringUtil.encodeHtml(StringUtil.unquote(outValue)); + //if (outValue != null) + //outValue = StringUtil.encodeHtml(StringUtil.unquote(outValue)); break; case java.sql.Types.TIMESTAMP: Timestamp timestamp = (rs.getTimestamp(valueIndex));