Apply review suggestions

Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>
This commit is contained in:
Tony Torralba
2021-11-12 15:36:33 +01:00
parent 9bbba3c96f
commit 22aad17d0e

View File

@@ -1,5 +1,5 @@
public void fileSystemStorageUnsafe(String name, String password) {
// BAD - sensitive data stored in plaintext
// BAD - sensitive data stored in cleartext
FileWriter fw = new FileWriter("some_file.txt");
fw.write(name + ":" + password);
fw.close();