You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Tsz Wo Nicholas Sze (JIRA)" <ji...@apache.org> on 2018/07/20 21:41:00 UTC
[jira] [Updated] (RATIS-262) Fix compilation warning and deprecated
api usage
[ https://issues.apache.org/jira/browse/RATIS-262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo Nicholas Sze updated RATIS-262:
--------------------------------------
Component/s: build
Some of the warnings (such as the unused variables in the description) are invalided. They should be suppressed.
> Fix compilation warning and deprecated api usage
> ------------------------------------------------
>
> Key: RATIS-262
> URL: https://issues.apache.org/jira/browse/RATIS-262
> Project: Ratis
> Issue Type: Bug
> Components: build
> Reporter: Elek, Marton
> Priority: Minor
>
> During the 0.2.0-rc2 vote [~khmarbaise] wrote the following comment:
> {quote}
> so far so good and got several messages about deprecated calls and things like this:
>
> INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ ratis-server ---
> [INFO] Compiling 55 source files to /Users/kama/Downloads/ratis-incubating-0.2.0/ratis-server/target/classes
> [WARNING] /Users/kama/Downloads/ratis-incubating-0.2.0/ratis-server/src/main/java/org/apache/ratis/server/storage/MemoryRaftLog.java:[48,26] [try] auto-closeable resource readLock is never referenced in body of corresponding try statement
> [WARNING] /Users/kama/Downloads/ratis-incubating-0.2.0/ratis-server/src/main/java/org/apache/ratis/server/storage/MemoryRaftLog.java:[57,26] [try] auto-closeable resource readLock is never referenced in body of corresponding try statement
> [WARNING] /Users/kama/Downloads/ratis-incubating-0.2.0/ratis-server/src/main/java/org/apache/ratis/server/storage/MemoryRaftLog.java:[67,26] [try] auto-closeable resource readLock is never referenced in body of corresponding try statement
> [WARNING] /Users/kama/Downloads/ratis-incubating-0.2.0/ratis-server/src/main/java/org/apache/ratis/server/storage/MemoryRaftLog.java:[85,26] [try] auto-closeable resource writeLock is never referenced in body of corresponding try statement
>
> which are not really a problem...can be fixed in the next release...
> {quote}
> Would be great to fix them long-term.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)