Key identifier was set on every setLocation, fixed

pull/55/head
Richard Körber 2017-04-19 00:48:34 +02:00
parent 7d822e106c
commit b40861c66c
2 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,6 @@ public abstract class AcmeResource implements Serializable {
*/
protected void setLocation(URL location) {
this.location = Objects.requireNonNull(location, "location");
session.setKeyIdentifier(this.location.toString());
}
/**

View File

@ -65,6 +65,7 @@ public class Registration extends AcmeResource {
protected Registration(Session session, URL location) {
super(session);
setLocation(location);
session.setKeyIdentifier(location.toString());
}
/**