[Yanel-commits] rev 24771 -
public/yanel/trunk/src/resources/file/src/java/org/wyona/yanel/impl/resources
michi at wyona.com
michi at wyona.com
Wed May 30 15:15:51 CEST 2007
Author: michi
Date: 2007-05-30 15:15:50 +0200 (Wed, 30 May 2007)
New Revision: 24771
Modified:
public/yanel/trunk/src/resources/file/src/java/org/wyona/yanel/impl/resources/NodeResource.java
Log:
log message fixed
Modified: public/yanel/trunk/src/resources/file/src/java/org/wyona/yanel/impl/resources/NodeResource.java
===================================================================
--- public/yanel/trunk/src/resources/file/src/java/org/wyona/yanel/impl/resources/NodeResource.java 2007-05-30 13:03:17 UTC (rev 24770)
+++ public/yanel/trunk/src/resources/file/src/java/org/wyona/yanel/impl/resources/NodeResource.java 2007-05-30 13:15:50 UTC (rev 24771)
@@ -226,13 +226,7 @@
}
return revisionInfos;
} else {
- log.warn("Node \"" + getPath() + "\" does not seem to have any revisions!");
-
- // TODO: Does this really make sense?!
- RevisionInformation[] revisionInfos = new RevisionInformation[1];
- revisionInfos[0] = new RevisionInformation("no-revision-number", new Date(getLastModified()), "No user name available!", "No revisions are being kept, but only this most recent version!");
- //return revisionInfos;
-
+ log.warn("Node \"" + getPath() + "\" does not seem to have any revisions! The repository \"" + getRealm().getRepository() + "\" might not support revisions!");
return null;
}
}
More information about the Yanel-commits
mailing list