Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.wst.jsdt.ui/src/org/eclipse/wst/jsdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java')
-rw-r--r--bundles/org.eclipse.wst.jsdt.ui/src/org/eclipse/wst/jsdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java10
1 files changed, 1 insertions, 9 deletions
diff --git a/bundles/org.eclipse.wst.jsdt.ui/src/org/eclipse/wst/jsdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java b/bundles/org.eclipse.wst.jsdt.ui/src/org/eclipse/wst/jsdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java
index e4df4ea2..46d0e1c8 100644
--- a/bundles/org.eclipse.wst.jsdt.ui/src/org/eclipse/wst/jsdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java
+++ b/bundles/org.eclipse.wst.jsdt.ui/src/org/eclipse/wst/jsdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java
@@ -104,7 +104,6 @@ import org.eclipse.wst.jsdt.internal.corext.util.Messages;
import org.eclipse.wst.jsdt.internal.ui.IJavaStatusConstants;
import org.eclipse.wst.jsdt.internal.ui.JavaPluginImages;
import org.eclipse.wst.jsdt.internal.ui.JavaScriptPlugin;
-import org.eclipse.wst.jsdt.internal.ui.Logger;
import org.eclipse.wst.jsdt.internal.ui.javaeditor.saveparticipant.IPostSaveListener;
import org.eclipse.wst.jsdt.internal.ui.text.correction.JavaCorrectionProcessor;
import org.eclipse.wst.jsdt.internal.ui.text.java.IProblemRequestorExtension;
@@ -1015,15 +1014,8 @@ public class CompilationUnitDocumentProvider extends TextFileDocumentProvider im
try {
final IStorage storage= editorInput.getStorage();
final IPath storagePath= storage.getFullPath();
- if (storage.getName() == null || storagePath == null) {
- if (storagePath == null) {
- Logger.log(Logger.INFO, "Unsupported editor input: null path"); //$NON-NLS-1$
- }
- else if (storage.getName() == null) {
- Logger.log(Logger.INFO, "Unsupported editor input: no name"); //$NON-NLS-1$
- }
+ if (storage.getName() == null || storagePath == null)
return null;
- }
final IPath documentPath;
if (storage instanceof IFileState)

Back to the top