[Htmlparser-cvs] htmlparser/src/org/htmlparser/nodes RemarkNode.java,1.4,1.5
Brought to you by:
derrickoswald
From: Derrick O. <der...@us...> - 2006-05-27 14:04:03
|
Update of //cvsroot/htmlparser/htmlparser/src/org/htmlparser/nodes In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv27983/nodes Modified Files: RemarkNode.java Log Message: fix bug #1488951 RemarkNode.toPlainTextString() incorrect behaviour RemarkNode.toPlainTextString() now always returns an empty string if you want the remark text use getText() Index: RemarkNode.java =================================================================== RCS file: //cvsroot/htmlparser/htmlparser/src/org/htmlparser/nodes/RemarkNode.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** RemarkNode.java 10 Apr 2005 23:20:44 -0000 1.4 --- RemarkNode.java 27 May 2006 14:03:52 -0000 1.5 *************** *** 74,78 **** * @return The contents of the text inside the comment delimiters. */ ! public String getText() { int start; --- 74,78 ---- * @return The contents of the text inside the comment delimiters. */ ! public String getText () { int start; *************** *** 115,119 **** public String toPlainTextString () { ! return (getText()); } --- 115,119 ---- public String toPlainTextString () { ! return (""); } |