abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r629227 - in /incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera: factory/StreamBuilder.java util/AbstractStreamWriter.java writer/StreamWriter.java
Date Tue, 19 Feb 2008 21:01:00 GMT
Author: jmsnell
Date: Tue Feb 19 13:00:58 2008
New Revision: 629227

URL: http://svn.apache.org/viewvc?rev=629227&view=rev
Log:
should be a long, not an int

Modified:
    incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/factory/StreamBuilder.java
    incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/AbstractStreamWriter.java
    incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/writer/StreamWriter.java

Modified: incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/factory/StreamBuilder.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/factory/StreamBuilder.java?rev=629227&r1=629226&r2=629227&view=diff
==============================================================================
--- incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/factory/StreamBuilder.java
(original)
+++ incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/factory/StreamBuilder.java
Tue Feb 19 13:00:58 2008
@@ -354,7 +354,7 @@
   }
 
   public StreamBuilder startLink(String iri, String rel, String type,
-      String title, String hreflang, int length) {
+      String title, String hreflang, long length) {
     return (StreamBuilder)super.startLink(iri, rel, type, title, hreflang, length);
   }
 
@@ -721,7 +721,7 @@
   }
 
   public StreamBuilder writeLink(String iri, String rel, String type,
-      String title, String hreflang, int length) {
+      String title, String hreflang, long length) {
     return (StreamBuilder)super.writeLink(iri, rel, type, title, hreflang, length);
   }
 

Modified: incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/AbstractStreamWriter.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/AbstractStreamWriter.java?rev=629227&r1=629226&r2=629227&view=diff
==============================================================================
--- incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/AbstractStreamWriter.java
(original)
+++ incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/AbstractStreamWriter.java
Tue Feb 19 13:00:58 2008
@@ -127,7 +127,7 @@
     String type, 
     String title,
     String hreflang, 
-    int length) {
+    long length) {
       return 
         startElement(Constants.LINK).
         writeAttribute("href",iri).
@@ -345,7 +345,7 @@
     String type, 
     String title,
     String hreflang, 
-    int length) {
+    long length) {
       return 
         startLink(iri, rel, type, title, hreflang, length).
         endLink();

Modified: incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/writer/StreamWriter.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/writer/StreamWriter.java?rev=629227&r1=629226&r2=629227&view=diff
==============================================================================
--- incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/writer/StreamWriter.java
(original)
+++ incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/writer/StreamWriter.java
Tue Feb 19 13:00:58 2008
@@ -365,7 +365,7 @@
    * @param hreflang The hreflang value
    * @param length The link length
    */
-  StreamWriter writeLink(String iri, String rel, String type, String title, String hreflang,
int length);
+  StreamWriter writeLink(String iri, String rel, String type, String title, String hreflang,
long length);
   
   /**
    * Start an atom:link element
@@ -397,7 +397,7 @@
    * @param hreflang The hreflang value
    * @param length The link length
    */
-  StreamWriter startLink(String iri, String rel, String type, String title, String hreflang,
int length);
+  StreamWriter startLink(String iri, String rel, String type, String title, String hreflang,
long length);
   
   /**
    * End the atom:category



Mime
View raw message