diff --git a/plugins/IntentionPowerPak/src/com/siyeh/ipp/comment/MoveCommentToSeparateLineIntention.java b/plugins/IntentionPowerPak/src/com/siyeh/ipp/comment/MoveCommentToSeparateLineIntention.java index af5ea44c5d51..b0e846377ace 100644 --- a/plugins/IntentionPowerPak/src/com/siyeh/ipp/comment/MoveCommentToSeparateLineIntention.java +++ b/plugins/IntentionPowerPak/src/com/siyeh/ipp/comment/MoveCommentToSeparateLineIntention.java @@ -30,7 +30,7 @@ public class MoveCommentToSeparateLineIntention extends Intention { return new CommentOnLineWithSourcePredicate(); } - public void processIntention(PsiElement element) + public void processIntention(@NotNull PsiElement element) throws IncorrectOperationException { final PsiComment selectedComment = (PsiComment)element; PsiElement elementToCheck = selectedComment;