You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2016/09/18 18:19:21 UTC
[jira] [Resolved] (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 ]
Sean Owen resolved SPARK-17586.
-------------------------------
Resolution: Fixed
Fix Version/s: 2.1.0
2.0.1
Issue resolved by pull request 15141
[https://github.com/apache/spark/pull/15141]
> 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
> Fix For: 2.0.1, 2.1.0
>
>
> {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