serialise -> serialize
This commit is contained in:
parent
05ac7e6041
commit
a74475d4cd
@ -226,7 +226,7 @@ public class LegacyYamlMigration implements Runnable {
|
||||
}
|
||||
|
||||
// otherwise, this node has some other special context which needs to be saved.
|
||||
// we serialise this way so it gets represented nicely in YAML.
|
||||
// we serialize this way so it gets represented nicely in YAML.
|
||||
|
||||
// create a map of node attributes
|
||||
Map<String, Object> attributes = new LinkedHashMap<>();
|
||||
|
@ -48,9 +48,9 @@ public final class SubjectReferenceFactory {
|
||||
// static util access
|
||||
|
||||
@Deprecated
|
||||
public static LPSubjectReference deserialize(LPPermissionService service, String serialisedReference) {
|
||||
public static LPSubjectReference deserialize(LPPermissionService service, String serializedReference) {
|
||||
Objects.requireNonNull(service, "service");
|
||||
return service.getReferenceFactory().deserialize(serialisedReference);
|
||||
return service.getReferenceFactory().deserialize(serializedReference);
|
||||
}
|
||||
|
||||
public static LPSubjectReference obtain(LPPermissionService service, LPSubject subject) {
|
||||
@ -96,9 +96,9 @@ public final class SubjectReferenceFactory {
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public LPSubjectReference deserialize(String serialisedReference) {
|
||||
Objects.requireNonNull(serialisedReference, "serialisedReference");
|
||||
List<String> parts = Splitter.on('/').limit(2).splitToList(serialisedReference);
|
||||
public LPSubjectReference deserialize(String serializedReference) {
|
||||
Objects.requireNonNull(serializedReference, "serializedReference");
|
||||
List<String> parts = Splitter.on('/').limit(2).splitToList(serializedReference);
|
||||
return obtain(parts.get(0), parts.get(1));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user