text: public void add(DirCacheEntry newEntry) {if (newEntry.getRawMode() == 0)throw new IllegalArgumentException(MessageFormat.format(JGitText.get().fileModeNotSetForPath,newEntry.getPathString()));beforeAdd(newEntry);fastAdd(newEntry);}