Revert "checkstyle9.pl: Add check for missing space between ) {"
This reverts commit 6bad7d2486.
Turns out this special case wasn't necessary, and this was already
detected and due to another error (running the script got dropped
from my experimental scripts), I hadn't noticed.
Sponsored by: Netflix
This commit is contained in:
@@ -1556,11 +1556,6 @@ sub process {
|
||||
}
|
||||
}
|
||||
|
||||
# Check for ){
|
||||
if ($rawline =~ /^.*\)\{\n/) {
|
||||
ERROR("Missing space before brace\n". $herecurr);
|
||||
}
|
||||
|
||||
# check for spaces before a quoted newline
|
||||
if ($rawline =~ /^.*\".*\s\\n/) {
|
||||
ERROR("unnecessary whitespace before a quoted newline\n" . $herecurr);
|
||||
|
||||
Reference in New Issue
Block a user