From: <bo...@us...> - 2007-04-13 08:11:04
|
Revision: 179 http://xmlunit.svn.sourceforge.net/xmlunit/?rev=179&view=rev Author: bodewig Date: 2007-04-13 01:11:02 -0700 (Fri, 13 Apr 2007) Log Message: ----------- fix a few javadocs, remove redundant public identifiers from interfaces Modified Paths: -------------- trunk/xmlunit/src/java/org/custommonkey/xmlunit/ComparisonController.java trunk/xmlunit/src/java/org/custommonkey/xmlunit/DifferenceListener.java trunk/xmlunit/src/java/org/custommonkey/xmlunit/NodeTester.java trunk/xmlunit/src/java/org/custommonkey/xmlunit/examples/MultiLevelElementNameAndTextQualifier.java Modified: trunk/xmlunit/src/java/org/custommonkey/xmlunit/ComparisonController.java =================================================================== --- trunk/xmlunit/src/java/org/custommonkey/xmlunit/ComparisonController.java 2007-04-12 09:07:12 UTC (rev 178) +++ trunk/xmlunit/src/java/org/custommonkey/xmlunit/ComparisonController.java 2007-04-13 08:11:02 UTC (rev 179) @@ -41,13 +41,13 @@ */ public interface ComparisonController { /** - * Determine whether a Difference that this listener has been notified of + * Determine whether a Difference that the listener has been notified of * should halt further XML comparison. Default behaviour for a Diff * instance is to halt if the Difference is not recoverable. * @see Difference#isRecoverable * @param afterDifference the last Difference passed to <code>differenceFound</code> * @return true to halt further comparison, false otherwise */ - public boolean haltComparison(Difference afterDifference); + boolean haltComparison(Difference afterDifference); } Modified: trunk/xmlunit/src/java/org/custommonkey/xmlunit/DifferenceListener.java =================================================================== --- trunk/xmlunit/src/java/org/custommonkey/xmlunit/DifferenceListener.java 2007-04-12 09:07:12 UTC (rev 178) +++ trunk/xmlunit/src/java/org/custommonkey/xmlunit/DifferenceListener.java 2007-04-13 08:11:02 UTC (rev 179) @@ -49,28 +49,29 @@ * Indicates that the <code>Difference</code> is interpreted as defined * in {@link DifferenceConstants DifferenceConstants}. */ - public final int RETURN_ACCEPT_DIFFERENCE = 0; + int RETURN_ACCEPT_DIFFERENCE = 0; /** * Override return value for the <code>differenceFound</code> method. * Indicates that the nodes identified as being different should be * interpreted as being identical. */ - public final int RETURN_IGNORE_DIFFERENCE_NODES_IDENTICAL = 1; + int RETURN_IGNORE_DIFFERENCE_NODES_IDENTICAL = 1; /** * Override return value for the <code>differenceFound</code> method. * Indicates that the nodes identified as being different should be * interpreted as being similar. */ - public final int RETURN_IGNORE_DIFFERENCE_NODES_SIMILAR = 2; + int RETURN_IGNORE_DIFFERENCE_NODES_SIMILAR = 2; /** * Receive notification that 2 nodes are different. - * @param difference a Difference instance as defined in - * {@link DifferenceConstants DifferenceConstants} describing the - * cause of the difference and containing the detail of the nodes that differ - * @return int one of the RETURN_... constants describing how this difference - * was interpreted + * @param difference a Difference instance as defined in {@link + * DifferenceConstants DifferenceConstants} describing the cause + * of the difference and containing the detail of the nodes that + * differ + * @return int one of the RETURN_... constants describing how this + * difference was interpreted */ - public int differenceFound(Difference difference); + int differenceFound(Difference difference); /** * Receive notification that a comparison between 2 nodes has been skipped @@ -79,6 +80,6 @@ * @param test the test node being compared * @see DifferenceEngine */ - public void skippedComparison(Node control, Node test); + void skippedComparison(Node control, Node test); } \ No newline at end of file Modified: trunk/xmlunit/src/java/org/custommonkey/xmlunit/NodeTester.java =================================================================== --- trunk/xmlunit/src/java/org/custommonkey/xmlunit/NodeTester.java 2007-04-12 09:07:12 UTC (rev 178) +++ trunk/xmlunit/src/java/org/custommonkey/xmlunit/NodeTester.java 2007-04-13 08:11:02 UTC (rev 179) @@ -53,7 +53,7 @@ * @param forTest * @exception NodeTestException if the node fails the test */ - public void testNode(Node aNode, NodeTest forTest) throws NodeTestException ; + void testNode(Node aNode, NodeTest forTest) throws NodeTestException ; /** * Validate that the Nodes passed one-by-one to the <code>testNode</code> @@ -61,5 +61,5 @@ * @param forTest * @exception NodeTestException if this instance was expecting more nodes */ - public void noMoreNodes(NodeTest forTest) throws NodeTestException ; + void noMoreNodes(NodeTest forTest) throws NodeTestException ; } \ No newline at end of file Modified: trunk/xmlunit/src/java/org/custommonkey/xmlunit/examples/MultiLevelElementNameAndTextQualifier.java =================================================================== --- trunk/xmlunit/src/java/org/custommonkey/xmlunit/examples/MultiLevelElementNameAndTextQualifier.java 2007-04-12 09:07:12 UTC (rev 178) +++ trunk/xmlunit/src/java/org/custommonkey/xmlunit/examples/MultiLevelElementNameAndTextQualifier.java 2007-04-13 08:11:02 UTC (rev 179) @@ -1,6 +1,6 @@ /* ****************************************************************** -Copyright (c) 2001, Jeff Martin, Tim Bacon +Copyright (c) 2006-2007, Jeff Martin, Tim Bacon All rights reserved. Redistribution and use in source and binary forms, with or without This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |