User: pazu
Date: 02/09/22 19:24:34
Modified: test Hello.java
Log:
Modified XDoc.getFirstSentence() to comply with
the JLS section 18.3, where the following is said
about the first sentence:
"This sentence ends at the first period that is followed by a blank, tab, or line
terminator, or at the first tagline."
Also, aded an unit test to pick this up.
Revision Changes Path
1.20 +8 -0 xjavadoc/test/Hello.java
Index: Hello.java
===================================================================
RCS file: /cvsroot/xdoclet/xjavadoc/test/Hello.java,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -w -r1.19 -r1.20
--- Hello.java 11 Sep 2002 22:03:53 -0000 1.19
+++ Hello.java 23 Sep 2002 02:24:34 -0000 1.20
@@ -17,6 +17,14 @@
*/
class Hello extends javax.swing.text.TextAction implements
javax.swing.event.MouseInputListener, Remote, Serializable {
+ /**
+ * This shouldn't be the first sentence.This one should be.
+ * Is everything OK?
+ */
+ public void firstMethod()
+ {
+ }
+
/**
* Braba papa, barba mama, baraba brother, barba sister
*/
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel