diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/treewalk/TreeWalk.java b/org.eclipse.jgit/src/org/eclipse/jgit/treewalk/TreeWalk.java index c54e1484c..e063749a2 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/treewalk/TreeWalk.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/treewalk/TreeWalk.java @@ -596,8 +596,8 @@ public Attributes getAttributes() { // TODO(msohn) make this method public in 4.4 @Nullable EolStreamType getEolStreamType(OperationType opType) { - if (attributesNodeProvider == null || config == null) - return null; + if (attributesNodeProvider == null || config == null) + return null; return EolStreamTypeUtil.detectStreamType(opType, config.get(WorkingTreeOptions.KEY), getAttributes()); }