commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1086444 - /commons/proper/net/trunk/src/main/java/examples/nntp/MessageThreading.java
Date Mon, 28 Mar 2011 23:32:13 GMT
Author: sebb
Date: Mon Mar 28 23:32:13 2011
New Revision: 1086444

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

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

Modified: commons/proper/net/trunk/src/main/java/examples/nntp/MessageThreading.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/examples/nntp/MessageThreading.java?rev=1086444&r1=1086443&r2=1086444&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/examples/nntp/MessageThreading.java (original)
+++ commons/proper/net/trunk/src/main/java/examples/nntp/MessageThreading.java Mon Mar 28
23:32:13 2011
@@ -67,7 +67,7 @@ public class MessageThreading {
         NewsgroupInfo group = new NewsgroupInfo();
         client.selectNewsgroup(newsgroup, group);
 
-        long lowArticleNumber = group.getFirstArticle();
+        long lowArticleNumber = group.getFirstArticleLong();
         long highArticleNumber = lowArticleNumber + 5000;
 
         System.out.println("Retrieving articles between [" + lowArticleNumber + "] and ["
+ highArticleNumber + "]");



Mime
View raw message