[Yanel-commits] rev 22497 -
public/yanel/trunk/src/resources/directory/src/java/org/wyona/yanel/impl/resources
michi at wyona.com
michi at wyona.com
Wed Feb 7 10:46:07 CET 2007
Author: michi
Date: 2007-02-07 10:46:06 +0100 (Wed, 07 Feb 2007)
New Revision: 22497
Modified:
public/yanel/trunk/src/resources/directory/src/java/org/wyona/yanel/impl/resources/DirectoryResource.java
Log:
formatting fixed
Modified: public/yanel/trunk/src/resources/directory/src/java/org/wyona/yanel/impl/resources/DirectoryResource.java
===================================================================
--- public/yanel/trunk/src/resources/directory/src/java/org/wyona/yanel/impl/resources/DirectoryResource.java 2007-02-07 09:17:55 UTC (rev 22496)
+++ public/yanel/trunk/src/resources/directory/src/java/org/wyona/yanel/impl/resources/DirectoryResource.java 2007-02-07 09:46:06 UTC (rev 22497)
@@ -101,13 +101,10 @@
// TODO: Add realm prefix, e.g. realm-prefix="ulysses-demo"
// NOTE: The schema is according to
// http://cocoon.apache.org/2.1/userdocs/directory-generator.html
- sb.append("<dir:directory yanel:path=\""
- + getPath()
- + "\" dir:name=\""
- + p.getName()
- + "\" dir:path=\""
- + p
- + "\" xmlns:dir=\"http://apache.org/cocoon/directory/2.0\" xmlns:yanel=\"http://www.wyona.org/yanel/resource/directory/1.0\">");
+ sb.append("<dir:directory yanel:path=\"" + getPath() + "\"
+ dir:name=\"" + p.getName() + "\"
+ dir:path=\"" + p + "\"
+ xmlns:dir=\"http://apache.org/cocoon/directory/2.0\" xmlns:yanel=\"http://www.wyona.org/yanel/resource/directory/1.0\">");
// TODO: Do not show the children with suffix .yanel-rti resp. make
// this configurable!
// NOTE: Do not hardcode the .yanel-rti, but rather use
@@ -209,7 +206,7 @@
* Get XSLT
*/
private String[] getXSLTprop() {
- String xslt =getRTI().getProperty("xslt");
+ String xslt = getRTI().getProperty("xslt");
if (xslt != null) return xslt.split(",");
return null;
}
More information about the Yanel-commits
mailing list