From 86e772b852042e69725cce89888f1aff21053b6c Mon Sep 17 00:00:00 2001 From: Alexander Udalov Date: Mon, 20 Aug 2012 21:54:42 +0400 Subject: [PATCH] code style --- .../jet/plugin/debugger/PositionManagerTestCase.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/idea/tests/org/jetbrains/jet/plugin/debugger/PositionManagerTestCase.java b/idea/tests/org/jetbrains/jet/plugin/debugger/PositionManagerTestCase.java index 1c9b331d1c7..03d304d40e2 100644 --- a/idea/tests/org/jetbrains/jet/plugin/debugger/PositionManagerTestCase.java +++ b/idea/tests/org/jetbrains/jet/plugin/debugger/PositionManagerTestCase.java @@ -51,7 +51,7 @@ public abstract class PositionManagerTestCase extends PlatformTestCase { // Breakpoint is given as a line comment on a specific line, containing the name of the class, where that line can be found. // This pattern matches against these line comments and saves the class name in the first group - private static final Pattern breakpointPattern = Pattern.compile("^.*//\\s*([a-zA-Z0-9._/$]*)\\s*$"); + private static final Pattern BREAKPOINT_PATTERN = Pattern.compile("^.*//\\s*([a-zA-Z0-9._/$]*)\\s*$"); @NotNull protected abstract String getTestDataPath(); @@ -152,7 +152,7 @@ public abstract class PositionManagerTestCase extends PlatformTestCase { String[] lines = StringUtil.convertLineSeparators(fileContent).split("\n"); for (int i = 0; i < lines.length; i++) { - Matcher matcher = breakpointPattern.matcher(lines[i]); + Matcher matcher = BREAKPOINT_PATTERN.matcher(lines[i]); if (matcher.matches()) { // Line breakpoint numbers are 1-based breakpoints.add(new Breakpoint(file, i + 1, matcher.group(1)));