if (showReposLocks) { if (status.getRemoteLock() != null) { if (status.getLocalLock() != null) { lockStatus = status.getLocalLock().getID().equals(status.getRemoteLock().getID()) ? 'K' : 'T'; } else { lockStatus = 'O'; } else if (status.getLocalLock() != null) { lockStatus = 'B'; } else { lockStatus = status.getLocalLock() != null ? 'K' : ' '; result.append(status.isCopied() ? '+' : ' '); result.append(getSwitchCharacter(status)); result.append(status.getLocalLock() != null ? 'K' : ' ');
if (showReposLocks) { if (status.getRemoteLock() != null) { if (status.getLocalLock() != null) { lockStatus = status.getLocalLock().getID().equals(status.getRemoteLock().getID()) ? 'K' : 'T'; } else { lockStatus = 'O'; } else if (status.getLocalLock() != null) { lockStatus = 'B'; } else { lockStatus = status.getLocalLock() != null ? 'K' : ' '; result.append(status.isCopied() ? '+' : ' '); result.append(getSwitchCharacter(status)); result.append(status.getLocalLock() != null ? 'K' : ' ');
String lockComment = null; long lockCreationDate = 0; if(status.getLocalLock() != null){ lockToken = status.getLocalLock().getID(); lockOwner = status.getLocalLock().getOwner(); lockComment = status.getLocalLock().getComment(); lockCreationDate = status.getLocalLock().getCreationDate().getTime() * 1000;
String lockComment = null; long lockCreationDate = 0; if(status.getLocalLock() != null){ lockToken = status.getLocalLock().getID(); lockOwner = status.getLocalLock().getOwner(); lockComment = status.getLocalLock().getComment(); lockCreationDate = status.getLocalLock().getCreationDate().getTime() * 1000;
String lockComment = null; long lockCreationDate = 0; if(status.getLocalLock() != null){ lockToken = status.getLocalLock().getID(); lockOwner = status.getLocalLock().getOwner(); lockComment = status.getLocalLock().getComment(); lockCreationDate = status.getLocalLock().getCreationDate().getTime() * 1000;
String lockComment = null; long lockCreationDate = 0; if(status.getLocalLock() != null){ lockToken = status.getLocalLock().getID(); lockOwner = status.getLocalLock().getOwner(); lockComment = status.getLocalLock().getComment(); lockCreationDate = status.getLocalLock().getCreationDate().getTime() * 1000;
if (status.isVersioned() && status.getLocalLock() != null) { xmlBuffer = openXMLTag("lock", SVNXMLUtil.XML_STYLE_NORMAL, null, xmlBuffer); xmlBuffer = openCDataTag("token", status.getLocalLock().getID(), xmlBuffer); xmlBuffer = openCDataTag("owner", status.getLocalLock().getOwner(), xmlBuffer); xmlBuffer = openCDataTag("comment", status.getLocalLock().getComment(), xmlBuffer); xmlBuffer = openCDataTag("created", SVNDate.formatDate(status.getLocalLock().getCreationDate()), xmlBuffer); xmlBuffer = closeXMLTag("lock", xmlBuffer);
String lockComment = null; long lockCreationDate = 0; if(status.getLocalLock() != null){ lockToken = status.getLocalLock().getID(); lockOwner = status.getLocalLock().getOwner(); lockComment = status.getLocalLock().getComment(); lockCreationDate = status.getLocalLock().getCreationDate().getTime() * 1000;
if (status.isVersioned() && status.getLocalLock() != null) { xmlBuffer = openXMLTag("lock", SVNXMLUtil.XML_STYLE_NORMAL, null, xmlBuffer); xmlBuffer = openCDataTag("token", status.getLocalLock().getID(), xmlBuffer); xmlBuffer = openCDataTag("owner", status.getLocalLock().getOwner(), xmlBuffer); xmlBuffer = openCDataTag("comment", status.getLocalLock().getComment(), xmlBuffer); xmlBuffer = openCDataTag("created", SVNDate.formatDate(status.getLocalLock().getCreationDate()), xmlBuffer); xmlBuffer = closeXMLTag("lock", xmlBuffer);
return true; return status.isLocked() || status.isSwitched() || status.getLocalLock() != null;
status.getLocalLock() != null || status.getChangelistName() != null || status.isFileExternal();
status.getLocalLock() != null || status.getChangelistName() != null || status.isFileExternal();
status.getLocalLock() != null || status.getChangelistName() != null || status.isFileExternal();
if (status.getLocalLock() != null) { openTag(LOCK_TAG); addTag(TOKEN_TAG, status.getLocalLock().getID()); addTag(OWNER_TAG, status.getLocalLock().getOwner()); addTag(COMMENT_TAG, status.getLocalLock().getComment()); addTag(CREATED_TAG, SVNTimeUtil.formatDate(status.getLocalLock().getCreationDate())); closeTag(LOCK_TAG);
if (status.getLocalLock() != null) { openTag(LOCK_TAG); addTag(TOKEN_TAG, status.getLocalLock().getID()); addTag(OWNER_TAG, status.getLocalLock().getOwner()); addTag(COMMENT_TAG, status.getLocalLock().getComment()); addTag(CREATED_TAG, SVNDate.formatDate(status.getLocalLock().getCreationDate())); closeTag(LOCK_TAG);
if (status.getLocalLock() != null) { openTag(LOCK_TAG); addTag(TOKEN_TAG, status.getLocalLock().getID()); addTag(OWNER_TAG, status.getLocalLock().getOwner()); addTag(COMMENT_TAG, status.getLocalLock().getComment()); addTag(CREATED_TAG, SVNDate.formatDate(status.getLocalLock().getCreationDate())); closeTag(LOCK_TAG);
if (status.getLocalLock() != null) { openTag(LOCK_TAG); addTag(TOKEN_TAG, status.getLocalLock().getID()); addTag(OWNER_TAG, status.getLocalLock().getOwner()); addTag(COMMENT_TAG, status.getLocalLock().getComment()); addTag(CREATED_TAG, SVNDate.formatDate(status.getLocalLock().getCreationDate())); closeTag(LOCK_TAG);
result.setLock(status.getLocalLock());