mirror of
https://github.com/sparrowwallet/drongo.git
synced 2024-11-04 11:06:44 +00:00
remove deprecated finalize method
This commit is contained in:
parent
f7fc559136
commit
40dab59337
1 changed files with 0 additions and 12 deletions
|
@ -73,18 +73,6 @@ public class SecureString implements CharSequence {
|
||||||
return "Secure:XXXXX";
|
return "Secure:XXXXX";
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Called by garbage collector.
|
|
||||||
* <p>
|
|
||||||
* {@inheritDoc}
|
|
||||||
*/
|
|
||||||
@SuppressWarnings("deprecation")
|
|
||||||
@Override
|
|
||||||
public void finalize() throws Throwable {
|
|
||||||
clear();
|
|
||||||
super.finalize();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Randomly pad the characters to not store the real character in memory.
|
* Randomly pad the characters to not store the real character in memory.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue