You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by GitBox <gi...@apache.org> on 2018/12/20 17:21:11 UTC
[GitHub] patricker commented on a change in pull request #3229: NIFI-5894
FTPTransfer NullPointerException
patricker commented on a change in pull request #3229: NIFI-5894 FTPTransfer NullPointerException
URL: https://github.com/apache/nifi/pull/3229#discussion_r243352723
##########
File path: nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/util/FTPTransfer.java
##########
@@ -296,13 +296,19 @@ private FileInfo newFileInfo(final FTPFile file, String path) {
perms.append(file.hasPermission(FTPFile.WORLD_ACCESS, FTPFile.READ_PERMISSION) ? "r" : "-");
perms.append(file.hasPermission(FTPFile.WORLD_ACCESS, FTPFile.WRITE_PERMISSION) ? "w" : "-");
perms.append(file.hasPermission(FTPFile.WORLD_ACCESS, FTPFile.EXECUTE_PERMISSION) ? "x" : "-");
+
+ long lastModifiedTime = System.currentTimeMillis();
Review comment:
The formatting is a bit off. Can you remove the `tab` characters and use spaces? Also, the indentation is not quite right.
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services