commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1085210 - /commons/proper/net/trunk/src/main/java/examples/nntp/ExtendedNNTPOps.java
Date Fri, 25 Mar 2011 00:08:38 GMT
Author: sebb
Date: Fri Mar 25 00:08:38 2011
New Revision: 1085210

URL: http://svn.apache.org/viewvc?rev=1085210&view=rev
Log:
Use new long method

Modified:
    commons/proper/net/trunk/src/main/java/examples/nntp/ExtendedNNTPOps.java

Modified: commons/proper/net/trunk/src/main/java/examples/nntp/ExtendedNNTPOps.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/examples/nntp/ExtendedNNTPOps.java?rev=1085210&r1=1085209&r2=1085210&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/examples/nntp/ExtendedNNTPOps.java (original)
+++ commons/proper/net/trunk/src/main/java/examples/nntp/ExtendedNNTPOps.java Fri Mar 25 00:08:38
2011
@@ -59,7 +59,7 @@ public class ExtendedNNTPOps {
             // XOVER
             NewsgroupInfo testGroup = new NewsgroupInfo();
             client.selectNewsgroup("alt.test", testGroup);
-            long lowArticleNumber = testGroup.getFirstArticle();
+            long lowArticleNumber = testGroup.getFirstArticleLong();
             long  highArticleNumber = lowArticleNumber + 100;
             Iterable<Article> articles = client.iterateArticleInfo(lowArticleNumber,
highArticleNumber);
 



Mime
View raw message