You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/07/27 15:40:00 UTC

[jira] [Commented] (PHOENIX-6450) Checkstyle creating warnings for line length > 80 but < 100

    [ https://issues.apache.org/jira/browse/PHOENIX-6450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17388147#comment-17388147 ] 

ASF GitHub Bot commented on PHOENIX-6450:
-----------------------------------------

richardantal opened a new pull request #1276:
URL: https://github.com/apache/phoenix/pull/1276


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@phoenix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Checkstyle creating warnings for line length > 80 but < 100
> -----------------------------------------------------------
>
>                 Key: PHOENIX-6450
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-6450
>             Project: Phoenix
>          Issue Type: Improvement
>          Components: core
>            Reporter: Rushabh Shah
>            Priority: Major
>
> Sample build: [https://github.com/apache/phoenix/pull/1200]
> Checkstyle warnings forĀ 
> {noformat}
> ./phoenix-core/src/main/java/org/apache/phoenix/hbase/index/Indexer.java:375:      // Need to add cell tags to Delete Marker before we do any index processing: Line is longer than 80 characters (found 81). [LineLength]
> ./phoenix-core/src/main/java/org/apache/phoenix/util/IndexUtil.java:949:    public static void setDeleteAttributes(MiniBatchOperationInProgress<Mutation> miniBatchOp): Line is longer than 80 characters (found 94). [LineLength]
> ./phoenix-core/src/main/java/org/apache/phoenix/util/IndexUtil.java:957:            byte[] sourceOpAttr = m.getAttribute(QueryServices.SOURCE_OPERATION_ATTRIB);: Line is longer than 80 characters (found 88). [LineLength]
> ./phoenix-core/src/main/java/org/apache/phoenix/util/IndexUtil.java:961:            Tag sourceOpTag = new Tag(PhoenixTagType.SOURCE_OPERATION_TAG_TYPE, sourceOpAttr);: Line is longer than 80 characters (found 94). [LineLength]
> ./phoenix-core/src/main/java/org/apache/phoenix/util/IndexUtil.java:963:            for (CellScanner cellScanner = m.cellScanner(); cellScanner.advance();) {: Line is longer than 80 characters (found 85). [LineLength]
> {noformat}
> Checkstyle check is creating warnings for line length which are greater than 80.
> I see we have couple  of config parameters specifying max line length which is 100.
> https://github.com/apache/phoenix/blob/4.x/src/main/config/checkstyle/checker.xml#L223-L224
> https://github.com/apache/phoenix/blob/4.x/dev/test-patch.properties#L25
> I don't understand where this 80 value comes from ?
> [~stoty] [~vjasani] [~yanxinyi] Any ideas ?



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