[jira] Created: (NET-298) Article numbers should be treated as LONG instead of INT in NNTP

3 messages Options
Embed this post
Permalink
JIRA jira@apache.org

[jira] Created: (NET-298) Article numbers should be treated as LONG instead of INT in NNTP

Reply Threaded More More options
Print post
Permalink
Article numbers should be treated as LONG instead of INT in NNTP
----------------------------------------------------------------

                 Key: NET-298
                 URL: https://issues.apache.org/jira/browse/NET-298
             Project: Commons Net
          Issue Type: Bug
    Affects Versions: 2.0
            Reporter: jojo lalpin
            Priority: Minor


When getting list of newsgroups, articles number are beyond int limit :
here is server's reply about alt.binaries.boneless (one of the biggest of alt.binaries hierarchy) :

alt.binaries.boneless 2705422467 1662764743 y

As article number if often used, that's a lot of minor changes.



--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

JIRA jira@apache.org

[jira] Updated: (NET-298) Article numbers should be treated as LONG instead of INT in NNTP

Reply Threaded More More options
Print post
Permalink

     [ https://issues.apache.org/jira/browse/NET-298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

jojo lalpin updated NET-298:
----------------------------

    Attachment: nntp_modifications.zip

Please find nntp files modified and a text file with all modifications done by file.

Modifications are :
        Change variables related to article number and article count type from int to long
        Functions :
                Integer.toString() in Long.toString()
                Integer.parseInt() in Long.parseLong()

Modified files are :

        Article.java
        ArticlePointer.java
        NewsgroupInfo.java
        NNTP.java
        NNTPClient.java

I still  have not checked if this work but as I am a newbie in Java if it fails I won't go further (but I will tell it).
At least the text file give all locations where I think modifications should be done.





> Article numbers should be treated as LONG instead of INT in NNTP
> ----------------------------------------------------------------
>
>                 Key: NET-298
>                 URL: https://issues.apache.org/jira/browse/NET-298
>             Project: Commons Net
>          Issue Type: Bug
>    Affects Versions: 2.0
>            Reporter: jojo lalpin
>            Priority: Minor
>         Attachments: nntp_modifications.zip
>
>
> When getting list of newsgroups, articles number are beyond int limit :
> here is server's reply about alt.binaries.boneless (one of the biggest of alt.binaries hierarchy) :
> alt.binaries.boneless 2705422467 1662764743 y
> As article number if often used, that's a lot of minor changes.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

JIRA jira@apache.org

[jira] Issue Comment Edited: (NET-298) Article numbers should be treated as LONG instead of INT in NNTP

Reply Threaded More More options
Print post
Permalink
In reply to this post by JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/NET-298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12774749#action_12774749 ]

jojo lalpin edited comment on NET-298 at 11/8/09 10:34 AM:
-----------------------------------------------------------

Please find nntp files modified and a text file with all modifications done by file.

Modifications are :
        Change variables related to article number and article count type from int to long
        Functions :
                Integer.toString() in Long.toString()
                Integer.parseInt() in Long.parseLong()

Modified files are :

        Article.java
        ArticlePointer.java
        NewsgroupInfo.java
        NNTP.java
        NNTPClient.java

It seems to work, at least newsgroup listing is ok now.





      was (Author: jojolalpin):
    Please find nntp files modified and a text file with all modifications done by file.

Modifications are :
        Change variables related to article number and article count type from int to long
        Functions :
                Integer.toString() in Long.toString()
                Integer.parseInt() in Long.parseLong()

Modified files are :

        Article.java
        ArticlePointer.java
        NewsgroupInfo.java
        NNTP.java
        NNTPClient.java

I still  have not checked if this work but as I am a newbie in Java if it fails I won't go further (but I will tell it).
At least the text file give all locations where I think modifications should be done.




 

> Article numbers should be treated as LONG instead of INT in NNTP
> ----------------------------------------------------------------
>
>                 Key: NET-298
>                 URL: https://issues.apache.org/jira/browse/NET-298
>             Project: Commons Net
>          Issue Type: Bug
>    Affects Versions: 2.0
>            Reporter: jojo lalpin
>            Priority: Minor
>         Attachments: nntp_modifications.zip
>
>
> When getting list of newsgroups, articles number are beyond int limit :
> here is server's reply about alt.binaries.boneless (one of the biggest of alt.binaries hierarchy) :
> alt.binaries.boneless 2705422467 1662764743 y
> As article number if often used, that's a lot of minor changes.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.