From: <jbo...@li...> - 2006-01-11 03:19:28
|
Author: mar...@jb... Date: 2006-01-10 22:19:25 -0500 (Tue, 10 Jan 2006) New Revision: 2062 Modified: trunk/labs/jbossrules/drools-core/src/test/java/org/drools/examples/manners/MannersTest.java Log: Mannes -Fixed incorrect javadoc formatting Modified: trunk/labs/jbossrules/drools-core/src/test/java/org/drools/examples/manners/MannersTest.java =================================================================== --- trunk/labs/jbossrules/drools-core/src/test/java/org/drools/examples/manners/MannersTest.java 2006-01-11 03:13:45 UTC (rev 2061) +++ trunk/labs/jbossrules/drools-core/src/test/java/org/drools/examples/manners/MannersTest.java 2006-01-11 03:19:25 UTC (rev 2062) @@ -127,7 +127,7 @@ ruleSet.addRule( getPathDone() ); ruleSet.addRule( getAreWeDone() ); ruleSet.addRule( getContinueProcessing() ); - // ruleSet.addRule( getAllDone() ); + ruleSet.addRule( getAllDone() ); final RuleBaseImpl ruleBase = new RuleBaseImpl(); ruleBase.addRuleSet( ruleSet ); @@ -690,12 +690,19 @@ /** * - * rule pathDone() { Context context; Seating seating; when { context : - * Context( state == Context.MAKE_PATH ) seating : Seating( pathDone == - * false ) } then { seating.setPathDone( true ); context.setName( - * Context.CHECK_DONE ); } } + * <pre> + * rule pathDone() { + * Context context; Seating seating; + * when { + * context : Context( state == Context.MAKE_PATH ) + * seating : Seating( pathDone == false ) + * } then { + * seating.setPathDone( true ); + * context.setName( Context.CHECK_DONE ); + * } + * } + * </pre> * - * * @return * @throws IntrospectionException * @throws InvalidRuleException @@ -773,13 +780,19 @@ } /** + * <pre> + * rule areWeDone() { + * Context context; LastSeat lastSear; + * when { + * context : Context( state == Context.CHECK_DONE ) + * LastSeat( lastSeat: seat ) + * Seating( rightSeat == lastSeat ) + * } then { + * context.setState(Context.PRINT_RESULTS ); + * } + * } + * </pre> * - * rule areWeDone() { Context context; LastSeat lastSear; when { context : - * Context( state == Context.CHECK_DONE ) LastSeat( lastSeat: seat ) - * Seating( rightSeat == lastSeat ) } then { context.setState( - * Context.PRINT_RESULTS ); } } - * - * * @return * @throws IntrospectionException * @throws InvalidRuleException @@ -861,10 +874,16 @@ } /** - * - * rule continue() { Context context; when { context : Context( state == - * Context.CHECK_DONE ) } then { context.setState( Context.ASSIGN_SEATS ); } } - * + * <pre> + * rule continue() { + * Context context; + * when { + * context : Context( state == Context.CHECK_DONE ) + * } then { + * context.setState( Context.ASSIGN_SEATS ); + * } + * } + * </pre> * @return * @throws IntrospectionException * @throws InvalidRuleException |