You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fineract.apache.org by GitBox <gi...@apache.org> on 2021/03/22 07:34:30 UTC

[GitHub] [fineract-cn-mobile] PatelVatsalB21 commented on a change in pull request #169: Fix-303: Image select from Gallery Downloads crash fixed

PatelVatsalB21 commented on a change in pull request #169:
URL: https://github.com/apache/fineract-cn-mobile/pull/169#discussion_r598478438



##########
File path: app/src/main/java/org/apache/fineract/utils/FileUtils.java
##########
@@ -224,7 +248,7 @@ public static void writeInputStreamDataToFile(InputStream in, File file) {
             out.close();
             in.close();
         } catch (Exception e) {
-            Log.d(LOG_TAG, e.getLocalizedMessage());
+            Logger.getLogger(e.getLocalizedMessage());

Review comment:
       It you would run check on your machine you would have experienced pmd fail due to log messages. I prefer in simplicity too but it is necessity. Please try check with log message you would find pmd error




-- 
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:
users@infra.apache.org