in server/src/jetbrains/buildServer/sharedResources/server/runtime/LocksStorageImpl.java [180:192]
private Lock deserializeTakenLock(@NotNull final String line) {
final List<String> strings = StringUtil.split(line, true, '\t'); // we need empty values for locks without values
Lock result = null;
if (strings.size() == 3) {
String value = StringUtil.trim(strings.get(2));
if (value == null) {
value = "";
}
final LockType type = LockType.byName(strings.get(1));
result = type == null ? null : new Lock(strings.get(0), type, value);
}
return result;
}