mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-10 09:45:39 +02:00
removed warnings
This commit is contained in:
parent
c3f32e31a7
commit
932ec1f202
2 changed files with 1 additions and 2 deletions
|
@ -38,7 +38,6 @@ import org.eclipse.jface.text.IInformationControlCreator;
|
|||
import org.eclipse.jface.text.ILineTracker;
|
||||
import org.eclipse.jface.text.IRegion;
|
||||
import org.eclipse.jface.text.ITextHover;
|
||||
import org.eclipse.jface.text.ITextOperationTarget;
|
||||
import org.eclipse.jface.text.ITextSelection;
|
||||
import org.eclipse.jface.text.ITextViewer;
|
||||
import org.eclipse.jface.text.ITextViewerExtension2;
|
||||
|
|
|
@ -89,7 +89,7 @@ public final class ToggleCommentAction extends TextEditorAction {
|
|||
Shell shell= editor.getSite().getShell();
|
||||
if (!fOperationTarget.canDoOperation(operationCode)) {
|
||||
if (shell != null)
|
||||
MessageDialog.openError(shell, CEditorMessages.getString("ToggleComment_error_title"), CEditorMessages.getString("ToggleComment_error_message"));
|
||||
MessageDialog.openError(shell, CEditorMessages.getString("ToggleComment_error_title"), CEditorMessages.getString("ToggleComment_error_message")); //$NON-NLS-1$//$NON-NLS-2$
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue