[GitHub] kinow commented on a change in pull request #64: Two small tweaks.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[GitHub] kinow commented on a change in pull request #64: Two small tweaks.

GitBox
kinow commented on a change in pull request #64: Two small tweaks.
URL: https://github.com/apache/commons-io/pull/64#discussion_r257450883
 
 

 ##########
 File path: src/main/java/org/apache/commons/io/TaggedIOException.java
 ##########
 @@ -129,7 +129,7 @@ public Serializable getTag() {
      * @return wrapped exception
      */
     @Override
-    public IOException getCause() {
+    public synchronized IOException getCause() {
 
 Review comment:
   Interesting! Didn't know `Throwable`'s `getCuase` was `synchronized`.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[hidden email]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]