removed synchronized which was not needed
authorFelix Schumacher <felix.schumacher@internetallee.de>
Tue, 24 Aug 2010 20:24:46 +0000 (22:24 +0200)
committerFelix Schumacher <felix.schumacher@internetallee.de>
Tue, 24 Aug 2010 20:24:46 +0000 (22:24 +0200)
src/org/mcb/services/PasswordService.java

index e5f0da7..054ff20 100644 (file)
@@ -18,7 +18,7 @@ import sun.misc.BASE64Encoder;
 
 public final class PasswordService {
        
-       public synchronized String encrypt(String plaintext) throws Exception {
+       public String encrypt(String plaintext) throws Exception {
                MessageDigest md = null;
                try {
                        md = MessageDigest.getInstance("SHA"); // step 2