From bd27d8d9e8ede3eccfed2fe3070e01465656c8f3 Mon Sep 17 00:00:00 2001 From: Alexey Kudravtsev Date: Mon, 27 Nov 2017 18:17:48 +0300 Subject: [PATCH] NPE fixed --- .../intellij/testFramework/propertyBased/InsertLineComment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/testFramework/testSrc/com/intellij/testFramework/propertyBased/InsertLineComment.java b/platform/testFramework/testSrc/com/intellij/testFramework/propertyBased/InsertLineComment.java index 1a8a3d02ffe1..47c8306c7ca6 100644 --- a/platform/testFramework/testSrc/com/intellij/testFramework/propertyBased/InsertLineComment.java +++ b/platform/testFramework/testSrc/com/intellij/testFramework/propertyBased/InsertLineComment.java @@ -34,7 +34,7 @@ public class InsertLineComment extends ActionOnRange { @Override public String toString() { - return "LineComment{" + getVirtualFile().getPath() + " " + myInitialStart + " " + getCurrentRange().getStartOffset() + "}"; + return "LineComment{" + getVirtualFile().getPath() + " " + myInitialStart + " " + getCurrentRange() + "}"; } @Override