diff options
author | Shawn Pearce <sop@google.com> | 2015-12-24 15:38:02 -0800 |
---|---|---|
committer | Shawn Pearce <sop@google.com> | 2015-12-28 11:43:30 -0800 |
commit | 110d3ca5952978e1b95ad05cdd3307092ee0c8b8 (patch) | |
tree | bd20cff2a793c7f4e2191c7a26a0c45e190902a1 /org.eclipse.jgit | |
parent | 21cec184b7ba99efcda8b05f78d1745fee32e7a3 (diff) | |
download | jgit-110d3ca5952978e1b95ad05cdd3307092ee0c8b8.tar.gz jgit-110d3ca5952978e1b95ad05cdd3307092ee0c8b8.zip |
DirCacheEditor: Fix formatting to avoid , at start of line
Change-Id: I1b1d614470c67fe4736fdc9c26ae26fb38dd58b5
Diffstat (limited to 'org.eclipse.jgit')
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/dircache/DirCacheEditor.java | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/dircache/DirCacheEditor.java b/org.eclipse.jgit/src/org/eclipse/jgit/dircache/DirCacheEditor.java index 13885d370c..aa26160443 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/dircache/DirCacheEditor.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/dircache/DirCacheEditor.java @@ -149,9 +149,11 @@ public class DirCacheEditor extends BaseDirCacheEditor { if (missing) { final DirCacheEntry ent = new DirCacheEntry(e.path); e.apply(ent); - if (ent.getRawMode() == 0) - throw new IllegalArgumentException(MessageFormat.format(JGitText.get().fileModeNotSetForPath - , ent.getPathString())); + if (ent.getRawMode() == 0) { + throw new IllegalArgumentException(MessageFormat.format( + JGitText.get().fileModeNotSetForPath, + ent.getPathString())); + } fastAdd(ent); } else { // Apply to all entries of the current path (different stages) |