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 Original line Diff line number Diff line
@@ -92,12 +92,12 @@ public class KeyStore {
        return contains(key.getBytes());
        return contains(key.getBytes());
    }
    }


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


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