[Yanel-commits] rev 36362 -
public/yanel/trunk/src/resources/xml/src/java/org/wyona/yanel/impl/resources
michi at wyona.com
michi at wyona.com
Tue May 6 10:31:24 CEST 2008
Author: michi
Date: 2008-05-06 10:31:23 +0200 (Tue, 06 May 2008)
New Revision: 36362
Modified:
public/yanel/trunk/src/resources/xml/src/java/org/wyona/yanel/impl/resources/XMLResource.java
Log:
TODO added
Modified: public/yanel/trunk/src/resources/xml/src/java/org/wyona/yanel/impl/resources/XMLResource.java
===================================================================
--- public/yanel/trunk/src/resources/xml/src/java/org/wyona/yanel/impl/resources/XMLResource.java 2008-05-06 08:27:59 UTC (rev 36361)
+++ public/yanel/trunk/src/resources/xml/src/java/org/wyona/yanel/impl/resources/XMLResource.java 2008-05-06 08:31:23 UTC (rev 36362)
@@ -258,8 +258,9 @@
*/
public RevisionInformation[] getRevisions() throws Exception {
Revision[] revisions = getRealm().getRepository().getNode(getPath()).getRevisions();
+
+ // TODO: Use utility method/class
RevisionInformation[] revisionInfos = new RevisionInformation[revisions.length];
-
for (int i = 0; i < revisions.length; i++) {
revisionInfos[i] = new RevisionInformation(revisions[i]);
}
More information about the Yanel-commits
mailing list