diff: fix typo
authorAleksey Pivovarov <AMPivovarov@gmail.com>
Wed, 25 Feb 2015 15:51:16 +0000 (18:51 +0300)
committerAleksey Pivovarov <AMPivovarov@gmail.com>
Wed, 25 Feb 2015 17:07:43 +0000 (20:07 +0300)
platform/diff-impl/src/com/intellij/diff/tools/dir/DirDiffTool.java
platform/diff-impl/src/com/intellij/diff/tools/dir/DirDiffViewer.java [moved from platform/diff-impl/src/com/intellij/diff/tools/dir/DifDiffViewer.java with 97% similarity]

index 8e52612567078487b0a9ea6e50df915617fcffa1..48ab915e62d3627130b2e74708f13cdc41f268fe 100644 (file)
@@ -27,12 +27,12 @@ public class DirDiffTool implements FrameDiffTool {
   @NotNull
   @Override
   public DiffViewer createComponent(@NotNull DiffContext context, @NotNull DiffRequest request) {
-    return new DifDiffViewer(context, (ContentDiffRequest)request);
+    return new DirDiffViewer(context, (ContentDiffRequest)request);
   }
 
   @Override
   public boolean canShow(@NotNull DiffContext context, @NotNull DiffRequest request) {
-    return DifDiffViewer.canShowRequest(context, request);
+    return DirDiffViewer.canShowRequest(context, request);
   }
 
   @NotNull
similarity index 97%
rename from platform/diff-impl/src/com/intellij/diff/tools/dir/DifDiffViewer.java
rename to platform/diff-impl/src/com/intellij/diff/tools/dir/DirDiffViewer.java
index b362604c5f96df33795d6e7feed46989814e579f..459804a505c449e0d7101cf85a4d7dced74ff0a4 100644 (file)
@@ -46,14 +46,14 @@ import java.awt.*;
 import java.io.IOException;
 import java.util.List;
 
-class DifDiffViewer implements FrameDiffTool.DiffViewer {
+class DirDiffViewer implements FrameDiffTool.DiffViewer {
   @NotNull private final DiffContext myContext;
   @NotNull private final ContentDiffRequest myRequest;
 
   @NotNull private final DirDiffPanel myDirDiffPanel;
   @NotNull private final JPanel myPanel;
 
-  public DifDiffViewer(@NotNull DiffContext context, @NotNull ContentDiffRequest request) {
+  public DirDiffViewer(@NotNull DiffContext context, @NotNull ContentDiffRequest request) {
     myContext = context;
     myRequest = request;
 
@@ -70,7 +70,7 @@ class DifDiffViewer implements FrameDiffTool.DiffViewer {
 
       @Override
       public Disposable getDisposable() {
-        return DifDiffViewer.this;
+        return DirDiffViewer.this;
       }
 
       @Override