diff --git a/src/main/java/com/sparrowwallet/drongo/SecureString.java b/src/main/java/com/sparrowwallet/drongo/SecureString.java index ca2b396..2cbb608 100644 --- a/src/main/java/com/sparrowwallet/drongo/SecureString.java +++ b/src/main/java/com/sparrowwallet/drongo/SecureString.java @@ -73,18 +73,6 @@ public class SecureString implements CharSequence { return "Secure:XXXXX"; } - /** - * Called by garbage collector. - *
- * {@inheritDoc} - */ - @SuppressWarnings("deprecation") - @Override - public void finalize() throws Throwable { - clear(); - super.finalize(); - } - /** * Randomly pad the characters to not store the real character in memory. *