[ 
https://issues.apache.org/jira/browse/IO-669?focusedWorklogId=439107&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-439107
 ]

ASF GitHub Bot logged work on IO-669:
-------------------------------------

                Author: ASF GitHub Bot
            Created on: 30/May/20 16:59
            Start Date: 30/May/20 16:59
    Worklog Time Spent: 10m 
      Work Description: XenoAmess commented on a change in pull request #115:
URL: https://github.com/apache/commons-io/pull/115#discussion_r432870107



##########
File path: src/main/java/org/apache/commons/io/file/Counters.java
##########
@@ -92,8 +92,8 @@ public int hashCode() {
 
         @Override
         public String toString() {
-            return String.format("%,d files, %,d directories, %,d bytes", 
Long.valueOf(fileCounter.get()),
-                    Long.valueOf(directoryCounter.get()), 
Long.valueOf(byteCounter.get()));
+            return String.format("%,d files, %,d directories, %,d bytes", 
fileCounter.get(),
+                    directoryCounter.get(), byteCounter.get());

Review comment:
       OK, will not happen next time :-)

##########
File path: src/main/java/org/apache/commons/io/file/Counters.java
##########
@@ -135,7 +135,7 @@ public BigInteger getBigInteger() {
 
         @Override
         public Long getLong() {
-            return Long.valueOf(value.longValueExact());
+            return value.longValueExact();

Review comment:
       done.

##########
File path: src/main/java/org/apache/commons/io/file/Counters.java
##########
@@ -245,7 +245,7 @@ public BigInteger getBigInteger() {
 
         @Override
         public Long getLong() {
-            return Long.valueOf(value);
+            return value;

Review comment:
       done.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 439107)
    Time Spent: 0.5h  (was: 20m)

> fix code smells; fix typos 
> ---------------------------
>
>                 Key: IO-669
>                 URL: https://issues.apache.org/jira/browse/IO-669
>             Project: Commons IO
>          Issue Type: Improvement
>            Reporter: JIN XU
>            Priority: Minor
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> [https://github.com/apache/commons-io/pull/115]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to