Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 613fcc85 authored by Chia-chi Yeh's avatar Chia-chi Yeh
Browse files

KeyStore: rename scan() to saw().

parent 1f680229
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -92,12 +92,12 @@ public class KeyStore {
        return contains(key.getBytes());
    }

    public byte[][] scan(byte[] prefix) {
    public byte[][] saw(byte[] prefix) {
        return execute('s', prefix);
    }

    public String[] scan(String prefix) {
        byte[][] values = scan(prefix.getBytes());
    public String[] saw(String prefix) {
        byte[][] values = saw(prefix.getBytes());
        if (values == null) {
            return null;
        }