mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
diff: migration from old API - support 3-way-diff requests
This commit is contained in:
+1
-2
@@ -69,8 +69,7 @@ public class MigrateDiffTool implements DiffTool {
|
||||
@Override
|
||||
public boolean canShow(DiffRequest request) {
|
||||
if (request instanceof MergeRequest) return false;
|
||||
if (request.getContents().length != 2) return false;
|
||||
return true;
|
||||
return request.getContents().length == 2 || request.getContents().length == 3;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user