You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Nick Dimiduk (Jira)" <ji...@apache.org> on 2019/10/30 17:12:00 UTC

[jira] [Created] (HBASE-23234) Checkstyle and formatter disagree on indentation

Nick Dimiduk created HBASE-23234:
------------------------------------

             Summary: Checkstyle and formatter disagree on indentation
                 Key: HBASE-23234
                 URL: https://issues.apache.org/jira/browse/HBASE-23234
             Project: HBase
          Issue Type: Task
          Components: build, tooling
            Reporter: Nick Dimiduk


I don't have an exhaustive analysis of the issue, but there's at least one case where check style plugin configuration disagrees with our settings in {{dev-support/hbase_eclipse_formatter.xml}}.

Formatter settings produce this code chunk

{noformat}
      uncaughtExceptionHandler =
          (t, e) -> abort("Uncaught exception in executorService thread " + t.getName(), e);
{noformat}

but check style wants

{noformat}
      uncaughtExceptionHandler =
        (t, e) -> abort("Uncaught exception in executorService thread " + t.getName(), e);
{noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)