Skip to content

Commit

Permalink
Fixed inaccurate notification while downloading PDF files
Browse files Browse the repository at this point in the history
  • Loading branch information
ThePurpleJedi committed Sep 19, 2023
1 parent 13cfff9 commit 03fa62e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/com/mercurys/MercurysClient.java
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package com.mercurys;

import com.mercurys.handlersandwrappers.*;
import com.mercurys.handlersandwrappers.ClientSocketHandler;
import com.mercurys.handlersandwrappers.DeviceWrapper;

import java.io.IOException;
import java.util.Scanner;
Expand Down
5 changes: 4 additions & 1 deletion src/com/mercurys/encryption/Decryption.java
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
package com.mercurys.encryption;

import java.util.*;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;

public class Decryption {

Expand Down
2 changes: 1 addition & 1 deletion src/com/mercurys/encryption/Encryption.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public Encryption() {
}

public String encrypt(final String message) {
if (message == null || message.equals("")) {
if (message == null || message.isEmpty()) {
return "";
}
String[] words = initialiseVariables(message);
Expand Down

0 comments on commit 03fa62e

Please sign in to comment.