Skip to content

Commit

Permalink
Merge branch '__rultor'
Browse files Browse the repository at this point in the history
  • Loading branch information
rultor committed Jan 30, 2019
2 parents 1a29ccd + aae514e commit 7dc06ee
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@
<property name="message" value="Use 'java.nio.charset.StandardCharsets' instead"/>
</module>
<module name="RegexpSingleline">
<property name="format" value="^(?! *(/\*\*|\*|/\*|//)).*[\.\-\+%/\*&lt;&gt;] *$"/>
<property name="format" value="^(?! *(/\*\*|\*|/\*|//)).*[\.\-\+%/\*&lt;&gt;](?&lt;!(-&gt;)|&lt;*[A-Za-z]&gt;) *$"/>
<property name="fileExtensions" value="java"/>
<property name="message" value="Line cannot end with this symbol, move it to the next line"/>
</module>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -684,10 +684,6 @@ public void allowsUppercaseAbbreviationExceptions() throws Exception {
* to have uppercase abbreviations.
*
* @throws Exception In case of error
* @todo #897:30min Allow lambdas and generics to be places at end of line.
* RegexpSingleline is too strict and not allow generics and lambdas
* being placed at end of lines. Correct this behavior and uncomment test
* below.
*/
@Disabled
@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Simple.
* @since 1.0
*/
public final class ValidLambda {
public final class ValidLambdaAndGenericsAtEndOfLine {

/**
* Final.
Expand Down

1 comment on commit 7dc06ee

@0pdd
Copy link
Collaborator

@0pdd 0pdd commented on 7dc06ee Jan 30, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Puzzle 897-e70cf262 disappeared from qulice-checkstyle/src/test/java/com/qulice/checkstyle/CheckstyleValidatorTest.java, that's why I closed #1005. Please, remember that the puzzle was not necessarily removed in this particular commit. Maybe it happened earlier, but we discovered this fact only now.

Please sign in to comment.