diff --git a/app/src/main/java/com/amaze/filemanager/filesystem/files/EncryptDecryptUtils.java b/app/src/main/java/com/amaze/filemanager/filesystem/files/EncryptDecryptUtils.java index 8744369041..9338fbc264 100644 --- a/app/src/main/java/com/amaze/filemanager/filesystem/files/EncryptDecryptUtils.java +++ b/app/src/main/java/com/amaze/filemanager/filesystem/files/EncryptDecryptUtils.java @@ -65,6 +65,7 @@ public class EncryptDecryptUtils { public static final String DECRYPT_BROADCAST = "decrypt_broadcast"; private static final Logger LOG = LoggerFactory.getLogger(EncryptDecryptUtils.class); + /** * Queries database to map path and password. Starts the encryption process after database query * diff --git a/app/src/main/java/com/amaze/filemanager/ui/dialogs/SftpConnectDialog.kt b/app/src/main/java/com/amaze/filemanager/ui/dialogs/SftpConnectDialog.kt index c6446bf3b7..23273e826c 100644 --- a/app/src/main/java/com/amaze/filemanager/ui/dialogs/SftpConnectDialog.kt +++ b/app/src/main/java/com/amaze/filemanager/ui/dialogs/SftpConnectDialog.kt @@ -346,8 +346,7 @@ class SftpConnectDialog : DialogFragment() { } } - private fun handleOnPositiveButton(edit: Boolean): - MaterialDialog.SingleButtonCallback = + private fun handleOnPositiveButton(edit: Boolean): MaterialDialog.SingleButtonCallback = MaterialDialog.SingleButtonCallback { _, _ -> createConnectionSettings(edit).run { when (prefix) { diff --git a/app/src/main/java/com/amaze/filemanager/utils/ProgressHandler.java b/app/src/main/java/com/amaze/filemanager/utils/ProgressHandler.java index 58267ba44c..407739fdb4 100644 --- a/app/src/main/java/com/amaze/filemanager/utils/ProgressHandler.java +++ b/app/src/main/java/com/amaze/filemanager/utils/ProgressHandler.java @@ -41,11 +41,13 @@ public class ProgressHandler { * (see Java Language Specification 17.7) */ private volatile long writtenSize = 0L; + /** total number of source files to be processed */ private volatile int sourceFiles = 0; /** number of source files processed so far */ private volatile int sourceFilesProcessed = 0; + /** file name currently being processed */ private volatile String fileName; diff --git a/app/src/main/java/com/amaze/filemanager/utils/TinyDB.kt b/app/src/main/java/com/amaze/filemanager/utils/TinyDB.kt index 057ac30ad3..8eb0889937 100644 --- a/app/src/main/java/com/amaze/filemanager/utils/TinyDB.kt +++ b/app/src/main/java/com/amaze/filemanager/utils/TinyDB.kt @@ -29,9 +29,9 @@ import android.text.TextUtils */ object TinyDB { /* - * The "‚" character is not a comma, it is the SINGLE LOW-9 QUOTATION MARK. U-201A - * + U-2017 + U-201A are used for separating the items in a list. - */ + * The "‚" character is not a comma, it is the SINGLE LOW-9 QUOTATION MARK. U-201A + * + U-2017 + U-201A are used for separating the items in a list. + */ private const val DIVIDER = "‚‗‚" /** diff --git a/app/src/play/java/com/amaze/filemanager/filesystem/compressed/extractcontents/helpers/RarExtractor.kt b/app/src/play/java/com/amaze/filemanager/filesystem/compressed/extractcontents/helpers/RarExtractor.kt index f87b70f4a9..b80b1647c8 100644 --- a/app/src/play/java/com/amaze/filemanager/filesystem/compressed/extractcontents/helpers/RarExtractor.kt +++ b/app/src/play/java/com/amaze/filemanager/filesystem/compressed/extractcontents/helpers/RarExtractor.kt @@ -160,7 +160,7 @@ class RarExtractor( /* junrar doesn't throw exceptions if wrong archive password is supplied, until extracted file CRC is compared against the one stored in archive. So we can only rely on verifying CRC during extracting - */ + */ val inputStream = BufferedInputStream(rarFile.getInputStream(entry)) val outputStream = CheckedOutputStream( BufferedOutputStream(FileUtil.getOutputStream(outputFile, context)), diff --git a/app/src/play/java/com/amaze/filemanager/utils/Billing.kt b/app/src/play/java/com/amaze/filemanager/utils/Billing.kt index 5c73a158c0..d0db7d26b8 100644 --- a/app/src/play/java/com/amaze/filemanager/utils/Billing.kt +++ b/app/src/play/java/com/amaze/filemanager/utils/Billing.kt @@ -246,11 +246,11 @@ class Billing(private val activity: BasicActivity) : private fun showPaymentsDialog(context: BasicActivity) { /* - * As of Billing library 4.0, all callbacks are running on background thread. - * Need to use AppConfig.runInApplicationThread() for UI interactions - * - * - */ + * As of Billing library 4.0, all callbacks are running on background thread. + * Need to use AppConfig.runInApplicationThread() for UI interactions + * + * + */ AppConfig.getInstance() .runInApplicationThread( Callable { diff --git a/commons_compress_7z/src/main/java/com/amaze/filemanager/filesystem/compressed/sevenz/CoderBase.java b/commons_compress_7z/src/main/java/com/amaze/filemanager/filesystem/compressed/sevenz/CoderBase.java index f43b19565f..51449f310d 100644 --- a/commons_compress_7z/src/main/java/com/amaze/filemanager/filesystem/compressed/sevenz/CoderBase.java +++ b/commons_compress_7z/src/main/java/com/amaze/filemanager/filesystem/compressed/sevenz/CoderBase.java @@ -29,6 +29,7 @@ /** Base Codec class. */ abstract class CoderBase { private final Class[] acceptableOptions; + /** * @param acceptableOptions types that can be used as options for this codec. */