public void add(DirCacheEntry newEntry) {if (newEntry.getRawMode() == 0)throw new IllegalArgumentException(MessageFormat.format(JGitText.get().fileModeNotSetForPath,newEntry.getPathString()));beforeAdd(newEntry);fastAdd(newEntry);}
public virtual void Add(DirCacheEntry newEntry){if (newEntry.RawMode == 0){throw new ArgumentException(MessageFormat.Format(JGitText.Get().fileModeNotSetForPath, newEntry.PathString));}BeforeAdd(newEntry);FastAdd(newEntry);}