apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vrozov <...@git.apache.org>
Subject [GitHub] incubator-apex-core pull request: APEX-204 #resolve #comment setti...
Date Thu, 22 Oct 2015 00:36:31 GMT
Github user vrozov commented on a diff in the pull request:

    https://github.com/apache/incubator-apex-core/pull/125#discussion_r42700482
  
    --- Diff: apex_checks.xml ---
    @@ -54,13 +54,13 @@
         <module name="LeftCurly">
           <property name="option" value="eol"/>
           <property name="tokens"
    -                value="LITERAL_CATCH, LITERAL_DO, LITERAL_ELSE, LITERAL_FINALLY, LITERAL_FOR,
LITERAL_IF, LITERAL_SWITCH, LITERAL_SYNCHRONIZED, LITERAL_TRY, LITERAL_WHILE"/>
    +                value="LITERAL_CATCH, LITERAL_DO, LITERAL_ELSE, LITERAL_FINALLY, LITERAL_FOR,
LITERAL_IF, LITERAL_SWITCH, LITERAL_SYNCHRONIZED, LITERAL_TRY, LITERAL_WHILE, STATIC_INIT"/>
    --- End diff --
    
    Is there a way to enforce brace on a new line for anonymous class definitions like in
    ```
        Thread t = new Thread(new Runnable() 
        { // brace on the new line is not enforced
          @Override
          public void run()
          {
            
          }
        });
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message