diff options
author | Andre Weinand | 2005-05-09 10:08:06 +0000 |
---|---|---|
committer | Andre Weinand | 2005-05-09 10:08:06 +0000 |
commit | 131da3fefbe8e8a578a4b91768bd3c7af2a5c774 (patch) | |
tree | 1a81625e5c548f41a260e0efe15f490aa42593d8 /bundles/org.eclipse.compare/plugins | |
parent | 49d415401bd3897451166d66b49daf5018b3b3f0 (diff) | |
download | eclipse.platform.team-131da3fefbe8e8a578a4b91768bd3c7af2a5c774.tar.gz eclipse.platform.team-131da3fefbe8e8a578a4b91768bd3c7af2a5c774.tar.xz eclipse.platform.team-131da3fefbe8e8a578a4b91768bd3c7af2a5c774.zip |
more work on #78652
Diffstat (limited to 'bundles/org.eclipse.compare/plugins')
-rw-r--r-- | bundles/org.eclipse.compare/plugins/org.eclipse.compare/compare/org/eclipse/compare/internal/CompareUIPlugin.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/bundles/org.eclipse.compare/plugins/org.eclipse.compare/compare/org/eclipse/compare/internal/CompareUIPlugin.java b/bundles/org.eclipse.compare/plugins/org.eclipse.compare/compare/org/eclipse/compare/internal/CompareUIPlugin.java index 33103ab0d..dbca46533 100644 --- a/bundles/org.eclipse.compare/plugins/org.eclipse.compare/compare/org/eclipse/compare/internal/CompareUIPlugin.java +++ b/bundles/org.eclipse.compare/plugins/org.eclipse.compare/compare/org/eclipse/compare/internal/CompareUIPlugin.java @@ -892,12 +892,12 @@ public final class CompareUIPlugin extends AbstractUIPlugin { if (ct == null) ct= fgContentTypeManager.findContentTypeFor(name); - if (ct == null) { - // try to guess type - String t= guessType(element); - if (ITypedElement.TEXT_TYPE.equals(t)) - return Platform.getContentTypeManager().getContentType(IContentTypeManager.CT_TEXT); - } +// if (ct == null) { +// // try to guess type +// String t= guessType(element); +// if (ITypedElement.TEXT_TYPE.equals(t)) +// return Platform.getContentTypeManager().getContentType(IContentTypeManager.CT_TEXT); +// } return ct; } |