abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From roo...@apache.org
Subject svn commit: r422123 - /incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/model/Entry.java
Date Sat, 15 Jul 2006 01:02:46 GMT
Author: rooneg
Date: Fri Jul 14 18:02:45 2006
New Revision: 422123

URL: http://svn.apache.org/viewvc?rev=422123&view=rev
Log:
Clean up the Entry interface a bit.

* core/src/main/java/org/apache/abdera/model/Entry.java
  (Entry.setContent): Drop extraneous semicolons.
  (Entry.addAuthor): Remove bogus @thows.
  (Entry.addContributor): Ditto, plus fix actual javadoc content.

Modified:
    incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/model/Entry.java

Modified: incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/model/Entry.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/model/Entry.java?rev=422123&r1=422122&r2=422123&view=diff
==============================================================================
--- incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/model/Entry.java (original)
+++ incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/model/Entry.java Fri
Jul 14 18:02:45 2006
@@ -120,7 +120,6 @@
 
   /**
    * Adds an author
-   * @throws URISyntaxException 
    */
   Person addAuthor(String name);
 
@@ -207,12 +206,12 @@
   /**
    * Sets the content for this entry
    */
-  Content setContent(DataHandler dataHandler, String mediatype) throws MimeTypeParseException;;
+  Content setContent(DataHandler dataHandler, String mediatype) throws MimeTypeParseException;
   
   /**
    * Sets the content for this entry
    */
-  Content setContent(String value, String mediatype) throws MimeTypeParseException;;
+  Content setContent(String value, String mediatype) throws MimeTypeParseException;
   
   /**
    * Returns the text of the content element
@@ -235,8 +234,7 @@
   void addContributor(Person person);
   
   /**
-   * Adds an author
-   * @throws URISyntaxException 
+   * Adds a contributor 
    */
   Person addContributor(String name);
 



Mime
View raw message