You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2016/09/18 14:31:20 UTC
[jira] [Assigned] (SPARK-17586) Use Static member not via instance
reference
[ https://issues.apache.org/jira/browse/SPARK-17586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Apache Spark reassigned SPARK-17586:
------------------------------------
Assignee: (was: Apache Spark)
> 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org