Skip to content
Browse files

Fixed TISTUD-4885: NPE in GitIndex.refresh().

  • Loading branch information...
1 parent 2b18648 commit dddebac6a2aab6c894f393c38809e7250315e539 Michael Xia committed
Showing with 1 addition and 2 deletions.
  1. +1 −2 plugins/com.aptana.git.core/src/com/aptana/git/core/model/GitIndex.java
View
3 plugins/com.aptana.git.core/src/com/aptana/git/core/model/GitIndex.java
@@ -19,7 +19,6 @@
import java.util.List;
import java.util.Map;
import java.util.Set;
-import java.util.Vector;
import java.util.concurrent.Callable;
import java.util.concurrent.CancellationException;
import java.util.concurrent.ExecutionException;
@@ -251,7 +250,7 @@ public String map(IPath location)
// dictionary
if (CollectionsUtil.isEmpty(filePathStrings))
{
- this.changedFiles = new ArrayList<ChangedFile>(this.files.size());
+ this.changedFiles = new ArrayList<ChangedFile>();
}
else
{

0 comments on commit dddebac

Please sign in to comment.
Something went wrong with that request. Please try again.