Data: make getKeysAndCert() public

This commit is contained in:
zzz
2014-11-08 17:53:55 +00:00
parent 1c6d5ad2db
commit 5f1e5bc271
3 changed files with 4 additions and 4 deletions

View File

@ -68,9 +68,9 @@ public abstract class DatabaseEntry extends DataStructureImpl {
* and getIdentity() in RouterInfo. * and getIdentity() in RouterInfo.
* *
* @return KAC or null * @return KAC or null
* @since 0.8.2 * @since 0.8.2, public since 0.9.17
*/ */
protected abstract KeysAndCert getKeysAndCert(); public abstract KeysAndCert getKeysAndCert();
/** /**
* A common interface to the Hash of the two subclasses. * A common interface to the Hash of the two subclasses.

View File

@ -103,7 +103,7 @@ public class LeaseSet extends DatabaseEntry {
return getEarliestLeaseDate(); return getEarliestLeaseDate();
} }
protected KeysAndCert getKeysAndCert() { public KeysAndCert getKeysAndCert() {
return _destination; return _destination;
} }

View File

@ -113,7 +113,7 @@ public class RouterInfo extends DatabaseEntry {
return _published; return _published;
} }
protected KeysAndCert getKeysAndCert() { public KeysAndCert getKeysAndCert() {
return _identity; return _identity;
} }