Revision: 7892
http://svn.sourceforge.net/foray/?rev=7892&view=rev
Author: victormote
Date: 2006-09-04 17:03:05 -0700 (Mon, 04 Sep 2006)
Log Message:
-----------
Fix bug in test.
Modified Paths:
--------------
trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java 2006-09-04 22:47:46 UTC (rev 7891)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java 2006-09-05 00:03:05 UTC (rev 7892)
@@ -197,7 +197,7 @@
}
public void validateAtLeastOneChild() throws FOTreeException {
- if (this.getChildCount() > 1) {
+ if (this.getChildCount() < 1) {
throwException(this.getFullName() + " must have at least one "
+ "child.");
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|