Package org.eclipse.jgit.errors

Examples of org.eclipse.jgit.errors.IllegalTodoFileModification


            + ((commit == null) ? "null" : commit.name()) + " " //$NON-NLS-1$ //$NON-NLS-2$
            + ((shortMessage == null) ? "null" : shortMessage); //$NON-NLS-1$
    } else if (Action.COMMENT.equals(action) && !Action.COMMENT.equals(newAction)) {
      // transforming from comment to non-comment
      if (commit == null)
        throw new IllegalTodoFileModification(MessageFormat.format(
            JGitText.get().cannotChangeActionOnComment, action,
            newAction));
    }
    this.action = newAction;
  }
View Full Code Here

TOP

Related Classes of org.eclipse.jgit.errors.IllegalTodoFileModification

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.