[Htmlparser-cvs] htmlparser/src/org/htmlparser/tests/scannersTests CompositeTagScannerTest.java,1.46
Brought to you by:
derrickoswald
From: <der...@us...> - 2003-10-28 10:31:53
|
Update of /cvsroot/htmlparser/htmlparser/src/org/htmlparser/tests/scannersTests In directory sc8-pr-cvs1:/tmp/cvs-serv15003/tests/scannersTests Modified Files: CompositeTagScannerTest.java Log Message: Replaced isAllowSelfChildren() using tagEnders set. Index: CompositeTagScannerTest.java =================================================================== RCS file: /cvsroot/htmlparser/htmlparser/src/org/htmlparser/tests/scannersTests/CompositeTagScannerTest.java,v retrieving revision 1.46 retrieving revision 1.47 diff -C2 -d -r1.46 -r1.47 *** CompositeTagScannerTest.java 28 Oct 2003 03:04:19 -0000 1.46 --- CompositeTagScannerTest.java 28 Oct 2003 10:31:02 -0000 1.47 *************** *** 559,563 **** public CustomScanner(boolean selfChildrenAllowed) { ! super("", MATCH_NAME, new String[] {}, selfChildrenAllowed); } --- 559,563 ---- public CustomScanner(boolean selfChildrenAllowed) { ! super("", MATCH_NAME, selfChildrenAllowed ? new String[] {} : MATCH_NAME); } *************** *** 590,594 **** public AnotherScanner(boolean acceptCustomTagsButDontAcceptCustomEndTags) { ! super("", MATCH_NAME, new String[] {}, new String[] {"CUSTOM"}, true); } --- 590,594 ---- public AnotherScanner(boolean acceptCustomTagsButDontAcceptCustomEndTags) { ! super("", MATCH_NAME, new String[] {}, new String[] {"CUSTOM"}); } |