app/src/main/java/swati4star/createpdf/util/PDFEncryptionUtility.java
Method setPassword
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void setPassword(final String filePath, final DataSetChanged dataSetChanged) {
mDialog.setTitle(R.string.set_password);
final View mPositiveAction = mDialog.getActionButton(DialogAction.POSITIVE);
assert mDialog.getCustomView() != null;
Method removePassword
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void removePassword(final String file,
final DataSetChanged dataSetChanged) {
if (!isPDFEncrypted(file))
return;
Method removePasswordUsingDefMasterPassword
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private boolean removePasswordUsingDefMasterPassword(final String file,
final DataSetChanged dataSetChanged,
final String[] inputPassword) {
String finalOutputFile;
try {