Make abstract methods in Keyserver public (implementations make them public anyway)

This commit is contained in:
mar-v-in committed 2014-05-29 10:33:15 +02:00
1 parent be490307f9
commit 518f3e1763
1 file changed
+3 -3
@@ -48,12 +48,12 @@ public abstract class Keyserver {
private static final long serialVersionUID = -507574859137295530L; private static final long serialVersionUID = -507574859137295530L;
} }
abstract List<ImportKeysListEntry> search(String query) throws QueryFailedException, public abstract List<ImportKeysListEntry> search(String query) throws QueryFailedException,
QueryNeedsRepairException; QueryNeedsRepairException;
abstract String get(String keyIdHex) throws QueryFailedException; public abstract String get(String keyIdHex) throws QueryFailedException;
abstract void add(String armoredKey) throws AddKeyException; public abstract void add(String armoredKey) throws AddKeyException;
public static String readAll(InputStream in, String encoding) throws IOException { public static String readAll(InputStream in, String encoding) throws IOException {
ByteArrayOutputStream raw = new ByteArrayOutputStream(); ByteArrayOutputStream raw = new ByteArrayOutputStream();