[ 
https://issues.apache.org/jira/browse/SPARK-17586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hyukjin Kwon updated SPARK-17586:
---------------------------------
    Component/s:     (was: Spark Core)
                 Build

> Use Static member not via instance reference
> --------------------------------------------
>
>                 Key: SPARK-17586
>                 URL: https://issues.apache.org/jira/browse/SPARK-17586
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Build
>            Reporter: Hyukjin Kwon
>            Priority: Trivial
>
> {code}
> .../UnsafeInMemorySorter.java:284: warning: [static] static method should be 
> qualified by type name, TaskMemoryManager, instead of by an expression
> [WARNING]       currentPageNumber = 
> memoryManager.decodePageNumber(recordPointer)
> {code}
> We can use static method via Class reference not via instance which produces 
> an warning.
> This was introduced in https://github.com/apache/spark/pull/14693



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to