[jboss-svn-commits] JBL Code SVN: r17215 - in labs/jbossrules/branches/temporal_rete/drools-core/src/main/java/org/drools: reteoo and 1 other directory.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Thu Dec 13 06:36:17 EST 2007


Author: tolbrino
Date: 2007-12-13 06:36:17 -0500 (Thu, 13 Dec 2007)
New Revision: 17215

Modified:
   labs/jbossrules/branches/temporal_rete/drools-core/src/main/java/org/drools/common/EventFactHandle.java
   labs/jbossrules/branches/temporal_rete/drools-core/src/main/java/org/drools/reteoo/BetaNode.java
   labs/jbossrules/branches/temporal_rete/drools-core/src/main/java/org/drools/reteoo/ExistsNode.java
Log:
fixed typos in javadoc

Modified: labs/jbossrules/branches/temporal_rete/drools-core/src/main/java/org/drools/common/EventFactHandle.java
===================================================================
--- labs/jbossrules/branches/temporal_rete/drools-core/src/main/java/org/drools/common/EventFactHandle.java	2007-12-13 10:37:01 UTC (rev 17214)
+++ labs/jbossrules/branches/temporal_rete/drools-core/src/main/java/org/drools/common/EventFactHandle.java	2007-12-13 11:36:17 UTC (rev 17215)
@@ -49,7 +49,7 @@
      * @param id this event fact handle ID
      * @param object the event object encapsulated in this event fact handle
      * @param recency the recency of this event fact handle
-     * @param timestamp the timestamp of the occurence of this event
+     * @param timestamp the timestamp of the occurrence of this event
      * @param duration the duration of this event. May be 0 (zero) in case this is a primitive event.
      */
     public EventFactHandle( final long id, 

Modified: labs/jbossrules/branches/temporal_rete/drools-core/src/main/java/org/drools/reteoo/BetaNode.java
===================================================================
--- labs/jbossrules/branches/temporal_rete/drools-core/src/main/java/org/drools/reteoo/BetaNode.java	2007-12-13 10:37:01 UTC (rev 17214)
+++ labs/jbossrules/branches/temporal_rete/drools-core/src/main/java/org/drools/reteoo/BetaNode.java	2007-12-13 11:36:17 UTC (rev 17215)
@@ -91,7 +91,7 @@
         this.constraints = constraints;
 
         if ( this.constraints == null ) {
-            throw new RuntimeException( "cannot have null constraints, must atleast be an instanceof EmptyBetaCosntraints" );
+            throw new RuntimeException( "cannot have null constraints, must at least be an instance of EmptyBetaConstraints" );
         }
     }
 

Modified: labs/jbossrules/branches/temporal_rete/drools-core/src/main/java/org/drools/reteoo/ExistsNode.java
===================================================================
--- labs/jbossrules/branches/temporal_rete/drools-core/src/main/java/org/drools/reteoo/ExistsNode.java	2007-12-13 10:37:01 UTC (rev 17214)
+++ labs/jbossrules/branches/temporal_rete/drools-core/src/main/java/org/drools/reteoo/ExistsNode.java	2007-12-13 11:36:17 UTC (rev 17215)
@@ -28,11 +28,11 @@
  * <code>ExistsNode</code> extends <code>BetaNode</code> to perform tests for
  * the existence of a Fact plus one or more conditions. Where existence
  * is found the left ReteTuple is copied and propagated. Further to this it
- * maintains the "truth" by cancelling any
+ * maintains the "truth" by canceling any
  * <code>Activation<code>s that are no longer 
  * considered true by the retraction of ReteTuple's or FactHandleImpl.  
  * Tuples are considered to be asserted from the left input and facts from the right input.
- * The <code>BetaNode</code> provides the BetaMemory to store assserted ReteTuples and 
+ * The <code>BetaNode</code> provides the BetaMemory to store asserted ReteTuples and 
  * <code>FactHandleImpl<code>s. Each fact handle is stored in the right 
  * memory.
  * 
@@ -53,14 +53,14 @@
     /**
      * Construct.
      * 
-     * @paran id
+     * @param id
      *            The unique id for this node.
      * @param leftInput
      *            The left input <code>TupleSource</code>.
      * @param rightInput
      *            The right input <code>ObjectSource</code>.
      * @param joinNodeBinder
-     *            The constraints to be aplied to the right objects
+     *            The constraints to be applied to the right objects
      */
     public ExistsNode(final int id,
                       final TupleSource leftInput,
@@ -84,7 +84,7 @@
      * @param context
      *            The <code>PropagationContext</code>
      * @param workingMemory
-     *            The working memory seesion.
+     *            The working memory session.
      */
     public void assertTuple(final ReteTuple leftTuple,
                             final PropagationContext context,
@@ -125,7 +125,7 @@
      * @param context
      *            The <code>PropagationContext</code>
      * @param workingMemory
-     *            The working memory seesion.
+     *            The working memory session.
      */
     public void assertObject(final InternalFactHandle handle,
                              final PropagationContext context,
@@ -166,7 +166,7 @@
      * @param context
      *            The <code>PropagationContext</code>
      * @param workingMemory
-     *            The working memory seesion.
+     *            The working memory session.
      */
     public void retractObject(final InternalFactHandle handle,
                               final PropagationContext context,
@@ -200,7 +200,7 @@
      * @param context
      *            The <code>PropagationContext</code>
      * @param workingMemory
-     *            The working memory seesion.
+     *            The working memory session.
      */
     public void retractTuple(final ReteTuple leftTuple,
                              final PropagationContext context,




More information about the jboss-svn-commits mailing list