void () { if (myViewer.isReadOnly()) return; if (isResolved()) return; if (myStatus == HunkStatus.EXACTLY_APPLIED) { ContainerUtil.addIfNotNull(myOperations, createOperation(OperationType.APPLY)); } else { ContainerUtil.addIfNotNull(myOperations, createOperation(OperationType.COPY)); } ContainerUtil.addIfNotNull(myOperations, createOperation(OperationType.IGNORE)); }