From 474e266acdfd9320c999fd12df4e53293a9587b6 Mon Sep 17 00:00:00 2001 From: Oliver Burn Date: Tue, 28 May 2002 21:50:24 +0000 Subject: [PATCH] Turn off the operator wrapping test until I can provide an option to turn just it off. --- .../puppycrawl/tools/checkstyle/Verifier.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/checkstyle/com/puppycrawl/tools/checkstyle/Verifier.java b/src/checkstyle/com/puppycrawl/tools/checkstyle/Verifier.java index a97d5be9a..0a565797e 100644 --- a/src/checkstyle/com/puppycrawl/tools/checkstyle/Verifier.java +++ b/src/checkstyle/com/puppycrawl/tools/checkstyle/Verifier.java @@ -973,14 +973,14 @@ class Verifier // Check if rest of line is whitespace, and not just the operator by // itself. This last bit is to handle the example of the check below.:-) - if (!aText.equals(mLines[aLineNo - 1].trim()) - && - (mLines[aLineNo - 1].substring(aColNo + aText.length() - 1) - .trim().length() == 0)) - { - log(aLineNo, aColNo - 1, - "'" + aText + "' should be on a new line."); - } +// if (!aText.equals(mLines[aLineNo - 1].trim()) +// && +// (mLines[aLineNo - 1].substring(aColNo + aText.length() - 1) +// .trim().length() == 0)) +// { +// log(aLineNo, aColNo - 1, +// "'" + aText + "' should be on a new line."); +// } }