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.
|
// 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
|
// create a map of node attributes
|
||||||
Map<String, Object> attributes = new LinkedHashMap<>();
|
Map<String, Object> attributes = new LinkedHashMap<>();
|
||||||
|
@ -48,9 +48,9 @@ public final class SubjectReferenceFactory {
|
|||||||
// static util access
|
// static util access
|
||||||
|
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public static LPSubjectReference deserialize(LPPermissionService service, String serialisedReference) {
|
public static LPSubjectReference deserialize(LPPermissionService service, String serializedReference) {
|
||||||
Objects.requireNonNull(service, "service");
|
Objects.requireNonNull(service, "service");
|
||||||
return service.getReferenceFactory().deserialize(serialisedReference);
|
return service.getReferenceFactory().deserialize(serializedReference);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static LPSubjectReference obtain(LPPermissionService service, LPSubject subject) {
|
public static LPSubjectReference obtain(LPPermissionService service, LPSubject subject) {
|
||||||
@ -96,9 +96,9 @@ public final class SubjectReferenceFactory {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public LPSubjectReference deserialize(String serialisedReference) {
|
public LPSubjectReference deserialize(String serializedReference) {
|
||||||
Objects.requireNonNull(serialisedReference, "serialisedReference");
|
Objects.requireNonNull(serializedReference, "serializedReference");
|
||||||
List<String> parts = Splitter.on('/').limit(2).splitToList(serialisedReference);
|
List<String> parts = Splitter.on('/').limit(2).splitToList(serializedReference);
|
||||||
return obtain(parts.get(0), parts.get(1));
|
return obtain(parts.get(0), parts.get(1));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user