You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by rd...@apache.org on 2009/07/31 17:46:29 UTC

svn commit: r799640 - in /james/jsieve/trunk: main/src/test/java/org/apache/jsieve/HeaderTest.java util/src/main/java/org/apache/jsieve/util/SieveToXml.java util/src/main/java/org/apache/jsieve/util/XmlOut.java

Author: rdonkin
Date: Fri Jul 31 15:46:29 2009
New Revision: 799640

URL: http://svn.apache.org/viewvc?rev=799640&view=rev
Log:
JSIEVE-67 Fix some javadoc warnings https://issues.apache.org/jira/browse/JSIEVE-67

Modified:
    james/jsieve/trunk/main/src/test/java/org/apache/jsieve/HeaderTest.java
    james/jsieve/trunk/util/src/main/java/org/apache/jsieve/util/SieveToXml.java
    james/jsieve/trunk/util/src/main/java/org/apache/jsieve/util/XmlOut.java

Modified: james/jsieve/trunk/main/src/test/java/org/apache/jsieve/HeaderTest.java
URL: http://svn.apache.org/viewvc/james/jsieve/trunk/main/src/test/java/org/apache/jsieve/HeaderTest.java?rev=799640&r1=799639&r2=799640&view=diff
==============================================================================
--- james/jsieve/trunk/main/src/test/java/org/apache/jsieve/HeaderTest.java (original)
+++ james/jsieve/trunk/main/src/test/java/org/apache/jsieve/HeaderTest.java Fri Jul 31 15:46:29 2009
@@ -306,7 +306,7 @@
      * Test for square brackets in matching headers When the "[" is in the first
      * char of the pattern it does not matches.
      * 
-     * @see http://issues.apache.org/jira/browse/JSIEVE-19
+     * See http://issues.apache.org/jira/browse/JSIEVE-19
      */
     public void testSquareBracketsInMatch() {
         boolean isTestPassed = false;

Modified: james/jsieve/trunk/util/src/main/java/org/apache/jsieve/util/SieveToXml.java
URL: http://svn.apache.org/viewvc/james/jsieve/trunk/util/src/main/java/org/apache/jsieve/util/SieveToXml.java?rev=799640&r1=799639&r2=799640&view=diff
==============================================================================
--- james/jsieve/trunk/util/src/main/java/org/apache/jsieve/util/SieveToXml.java (original)
+++ james/jsieve/trunk/util/src/main/java/org/apache/jsieve/util/SieveToXml.java Fri Jul 31 15:46:29 2009
@@ -141,7 +141,6 @@
      * <code>draft-freed-sieve-in-xml-01</code>
      * <blockquote cite='http://tools.ietf.org/id/draft-freed-sieve-in-xml-01.txt'>
      * Sieve Email Filtering: Sieves and display directives in XML</blockquote>.  
-     * @param elementName
      * @return not null
      */
     public static final NameMapper sieveInXmlMapper() {

Modified: james/jsieve/trunk/util/src/main/java/org/apache/jsieve/util/XmlOut.java
URL: http://svn.apache.org/viewvc/james/jsieve/trunk/util/src/main/java/org/apache/jsieve/util/XmlOut.java?rev=799640&r1=799639&r2=799640&view=diff
==============================================================================
--- james/jsieve/trunk/util/src/main/java/org/apache/jsieve/util/XmlOut.java (original)
+++ james/jsieve/trunk/util/src/main/java/org/apache/jsieve/util/XmlOut.java Fri Jul 31 15:46:29 2009
@@ -416,7 +416,6 @@
      * Starts a document by writing a prolog.
      * Calling this method is optional.
      * When writing a document fragment, it should <em>not</em> be called.
-     * @return this object
      * @throws OperationNotAllowedException 
      * if called after the first element has been written
      * or once a prolog has already been written
@@ -468,7 +467,7 @@
      * @throws InvalidXmlException if the name is not valid for an xml attribute 
      * or if a value for the attribute has already been written
      * @throws OperationNotAllowedException if called after {@link #content} 
-     * or {@link #closeElement() or before any call to {@link #openElement}
+     * or {@link #closeElement()} or before any call to {@link #openElement}
      */
     public void attribute(CharSequence name, CharSequence value) throws IOException {
         if (elementNames.isEmpty()) {
@@ -559,7 +558,6 @@
     /**
      * Closes the last element written.
      * 
-     * @return this object
      * @throws OperationNotAllowedException 
      * if called before any call to {@link #openElement} 
      * or after the first element has been closed
@@ -592,7 +590,6 @@
      * When appropriate, resources are also flushed and closed.
      * No exception is raised when called upon a document whose
      * root element has already been closed.
-     * @return this object
      * @throws OperationNotAllowedException 
      * if called before any call to {@link #openElement} 
      */



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org