You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2022/03/07 03:03:21 UTC

[GitHub] [spark] srowen commented on a change in pull request #35732: [SPARK-38414][CORE][DSTREAM][EXAMPLES][ML][MLLIB][SQL] Remove redundant `@SuppressWarnings `

srowen commented on a change in pull request #35732:
URL: https://github.com/apache/spark/pull/35732#discussion_r820349472



##########
File path: common/kvstore/src/main/java/org/apache/spark/util/kvstore/LevelDBIterator.java
##########
@@ -197,7 +197,6 @@ public synchronized void close() throws IOException {
    * when Scala wrappers are used, this makes sure that, hopefully, the JNI resources held by
    * the iterator will eventually be released.
    */
-  @SuppressWarnings("deprecation")

Review comment:
       Oh, do warnings pop back up? I thought these were found to not suppress anything? if it still emits a warning without it, we should keep it. For example, yeah, isn't finalize() definitely deprecated as of 11?




-- 
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: reviews-unsubscribe@spark.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org