public class AuthorDuplicateNameHelper extends Object
Constructor and Description |
---|
AuthorDuplicateNameHelper() |
Modifier and Type | Method and Description |
---|---|
static String |
createNameMarkerPattern(long originalId,
long duplicateId)
Create fake author name: "originalAuthorId;duplicateAuthorId".
|
static Pair<Long,Long> |
getAuthorIdFromNameMarkerPattern(String authorName)
Decode original and duplicate author ids from the fake author name
|
public static String createNameMarkerPattern(long originalId, long duplicateId)
originalId
- original author idduplicateId
- duplicate author id@Nullable public static Pair<Long,Long> getAuthorIdFromNameMarkerPattern(@NotNull String authorName)
authorName
- fake author name to be decodedCopyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.