summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
239f08e)
This should prevent ridiculously large editions when creating insert
keys from the identity keys.
- return new FreenetURI(((OwnIdentity) getIdentity()).getInsertUri()).setDocName("Sone").setMetaString(new String[0]);
+ return new FreenetURI(((OwnIdentity) getIdentity()).getInsertUri())
+ .setDocName("Sone")
+ .setMetaString(new String[0])
+ .setSuggestedEdition(latestEdition);
} catch (MalformedURLException e) {
throw new IllegalStateException(format("Own identity %s's insert URI is incorrect.", getIdentity()), e);
}
} catch (MalformedURLException e) {
throw new IllegalStateException(format("Own identity %s's insert URI is incorrect.", getIdentity()), e);
}