Skip to content

Commit

Permalink
#486 Ignored & tracked dialog shows empty files list
Browse files Browse the repository at this point in the history
  • Loading branch information
hsz committed Nov 1, 2017
1 parent 3606735 commit 24e20f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/mobi/hsz/idea/gitignore/IgnoreManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ public void run(boolean silent) {
return;
}

final ConcurrentMap<VirtualFile, VcsRoot> result = new ConcurrentWeakHashMap<VirtualFile, VcsRoot>();
final ConcurrentMap<VirtualFile, VcsRoot> result = ContainerUtil.newConcurrentMap();
for (VcsRoot vcsRoot : vcsRoots) {
if (!(vcsRoot.getVcs() instanceof GitVcs) || vcsRoot.getPath() == null) {
continue;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public void handleFiles(@NotNull final ConcurrentMap<VirtualFile, VcsRoot> files
myProject,
IgnoreBundle.message("notification.untrack.title", Utils.getVersion()),
IgnoreBundle.message("notification.untrack.content"),
NotificationType.WARNING,
NotificationType.INFORMATION,
new NotificationListener() {
@Override
public void hyperlinkUpdate(@NotNull Notification notification, @NotNull HyperlinkEvent event) {
Expand Down

0 comments on commit 24e20f6

Please sign in to comment.