[VCS] Passing NullableFunction.NULL to CommitHelper() instead of null.
authorKirill Likhodedov <kirill.likhodedov@jetbrains.com>
Tue, 27 Jul 2010 12:50:25 +0000 (16:50 +0400)
committerKirill Likhodedov <kirill.likhodedov@jetbrains.com>
Tue, 27 Jul 2010 12:50:25 +0000 (16:50 +0400)
platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ChangeListManagerImpl.java

index 794398d88685c506afb9cd79f90d0b8b0b291de0..1dde37947535714c8190029d5fe98e375c407488 100644 (file)
@@ -44,6 +44,7 @@ import com.intellij.ui.EditorNotifications;
 import com.intellij.util.ConcurrencyUtil;
 import com.intellij.util.Consumer;
 import com.intellij.util.EventDispatcher;
+import com.intellij.util.NullableFunction;
 import com.intellij.util.containers.MultiMap;
 import com.intellij.util.messages.Topic;
 import org.jdom.Element;
@@ -851,7 +852,7 @@ public class ChangeListManagerImpl extends ChangeListManagerEx implements Projec
 
   private boolean doCommit(final LocalChangeList changeList, final List<Change> changes, final boolean synchronously) {
     return new CommitHelper(myProject, changeList, changes, changeList.getName(),
-                     changeList.getComment(), new ArrayList<CheckinHandler>(), false, synchronously, null).doCommit();
+                     changeList.getComment(), new ArrayList<CheckinHandler>(), false, synchronously, NullableFunction.NULL).doCommit();
   }
 
   public void commitChangesSynchronously(LocalChangeList changeList, List<Change> changes) {