Author: natalia
Date: Tue Mar 11 19:06:22 2008
New Revision: 636176
URL: http://svn.apache.org/viewvc?rev=636176&view=rev
Log:
Data does not need to be escaped
Modified:
xml/xindice/trunk/java/src/org/apache/xindice/webadmin/webdav/components/props/DisplayName.java
Modified:
xml/xindice/trunk/java/src/org/apache/xindice/webadmin/webdav/components/props/DisplayName.java
URL:
http://svn.apache.org/viewvc/xml/xindice/trunk/java/src/org/apache/xindice/webadmin/webdav/components/props/DisplayName.java?rev=636176&r1=636175&r2=636176&view=diff
==============================================================================
---
xml/xindice/trunk/java/src/org/apache/xindice/webadmin/webdav/components/props/DisplayName.java
(original)
+++
xml/xindice/trunk/java/src/org/apache/xindice/webadmin/webdav/components/props/DisplayName.java
Tue Mar 11 19:06:22 2008
@@ -20,7 +20,6 @@
import org.apache.xindice.core.Collection;
import org.apache.xindice.core.data.Entry;
import org.apache.xindice.webadmin.PartialResponse;
-import org.apache.xindice.util.StringUtilities;
/**
* DisplayName creates a response node that contains resource name, which is
@@ -47,11 +46,11 @@
}
public PartialResponse.Content getProperty(Collection col) {
- return new PartialResponse.Content(DISPLAY_NAME,
StringUtilities.escapeXml(col.getName()));
+ return new PartialResponse.Content(DISPLAY_NAME, col.getName());
}
public PartialResponse.Content getProperty(Entry entry) {
- return new PartialResponse.Content(DISPLAY_NAME,
StringUtilities.escapeXml(entry.getKey().toString()));
+ return new PartialResponse.Content(DISPLAY_NAME,
entry.getKey().toString());
}
}