Author: adrianc
Date: Mon Jan 18 03:40:01 2010
New Revision: 900273

URL: http://svn.apache.org/viewvc?rev=900273&view=rev
Log:
Minor fixup and JavaDoc fixes for temporal expressions. No functional change.

Modified:
    
ofbiz/trunk/framework/service/src/org/ofbiz/service/calendar/TemporalExpressions.java

Modified: 
ofbiz/trunk/framework/service/src/org/ofbiz/service/calendar/TemporalExpressions.java
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/framework/service/src/org/ofbiz/service/calendar/TemporalExpressions.java?rev=900273&r1=900272&r2=900273&view=diff
==============================================================================
--- 
ofbiz/trunk/framework/service/src/org/ofbiz/service/calendar/TemporalExpressions.java
 (original)
+++ 
ofbiz/trunk/framework/service/src/org/ofbiz/service/calendar/TemporalExpressions.java
 Mon Jan 18 03:40:01 2010
@@ -477,7 +477,7 @@
         }
     }
 
-    /** This class represents a difference of two temporal expressions. */
+    /** A temporal expression that represents a difference of two temporal 
expressions. */
     public static class Difference extends TemporalExpression {
         protected final TemporalExpression excluded;
         protected final TemporalExpression included;
@@ -611,7 +611,7 @@
             } else {
                 this.start = new Date();
             }
-            this.sequence = 100;
+            this.sequence = SEQUENCE_FREQ;
             this.subSequence = freqType;
             this.freqType = freqType;
             this.freqCount = freqCount;
@@ -864,7 +864,7 @@
             return super.toString() + ", start = " + this.start + ", end = " + 
this.end;
         }
     }
-    /** This class represents a mathematical intersection of all of its
+    /** A temporal expression that represents a mathematical intersection of 
all of its
      * member expressions. */
     public static class Intersection extends TemporalExpression {
         protected final Set<TemporalExpression> expressionSet;
@@ -1259,7 +1259,7 @@
         }
     }
 
-    /** This class represents a null expression. */
+    /** A temporal expression that represents a null expression. */
     public static class Null extends TemporalExpression {
         @Override
         public void accept(TemporalExpressionVisitor visitor) {
@@ -1283,7 +1283,7 @@
         }
     }
 
-    /** An expression that provides a substitution for an excluded temporal 
expression. */
+    /** A temporal expression that provides a substitution for an excluded 
temporal expression. */
     public static class Substitution extends TemporalExpression {
         protected final TemporalExpression excluded;
         protected final TemporalExpression included;
@@ -1601,7 +1601,7 @@
         }
     }
 
-    /** This class represents a mathematical union of all of its
+    /** A temporal expression that represents a mathematical union of all of 
its
      * member expressions. */
     public static class Union extends TemporalExpression {
         protected final Set<TemporalExpression> expressionSet;


Reply via email to