{"action":"closed","issue":{"url":"https://api.github.com/repos/ctongfei/progressbar/issues/14","repository_url":"https://api.github.com/repos/ctongfei/progressbar","labels_url":"https://api.github.com/repos/ctongfei/progressbar/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/ctongfei/progressbar/issues/14/comments","events_url":"https://api.github.com/repos/ctongfei/progressbar/issues/14/events","html_url":"https://github.com/ctongfei/progressbar/issues/14","id":202573796,"number":14,"title":"long vars to track current/max in ProgressState class","user":{"login":"vitobellini","id":165743,"avatar_url":"https://avatars.githubusercontent.com/u/165743?v=3","gravatar_id":"","url":"https://api.github.com/users/vitobellini","html_url":"https://github.com/vitobellini","followers_url":"https://api.github.com/users/vitobellini/followers","following_url":"https://api.github.com/users/vitobellini/following{/other_user}","gists_url":"https://api.github.com/users/vitobellini/gists{/gist_id}","starred_url":"https://api.github.com/users/vitobellini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitobellini/subscriptions","organizations_url":"https://api.github.com/users/vitobellini/orgs","repos_url":"https://api.github.com/users/vitobellini/repos","events_url":"https://api.github.com/users/vitobellini/events{/privacy}","received_events_url":"https://api.github.com/users/vitobellini/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-01-23T15:58:35Z","updated_at":"2017-01-23T17:36:01Z","closed_at":"2017-01-23T17:36:01Z","body":"Hi,\r\nI've found your class really useful! I'm just disappointed in the use of int instead of long.\r\nWe use progress bar when we have several items to process, so an integer value cannot represent such hunge range of values.\r\nI'm processing an huge dataset with billions of items, I cannot use your implementation with int :(\r\n\r\nCan you please consider to replace integer with long in ProgressState's class attributes current and max? \r\n\r\n```\r\nclass ProgressState {\r\n    String task;\r\n    int current = 0;\r\n    int max = 0;\r\n    LocalDateTime startTime = null;\r\n    String extraMessage = \"\";\r\n...\r\n}\r\n```\r\n"}}
{"actor":{"display_login":"ctongfei"}}