[jira] [Updated] (RATIS-262) Fix compilation warning and deprecated api usage

2018-10-21 Thread Tsz Wo Nicholas Sze (JIRA)


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

Tsz Wo Nicholas Sze updated RATIS-262:
--
Attachment: r262_20181021.patch

> 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
>Assignee: Tsz Wo Nicholas Sze
>Priority: Minor
> Attachments: r262_20181021.patch
>
>
> 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)


[jira] [Updated] (RATIS-262) Fix compilation warning and deprecated api usage

2018-10-21 Thread Tsz Wo Nicholas Sze (JIRA)


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

Tsz Wo Nicholas Sze updated RATIS-262:
--
Attachment: (was: r262_20181006.patch)

> 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
>Assignee: Tsz Wo Nicholas Sze
>Priority: Minor
> Attachments: r262_20181021.patch
>
>
> 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)


[jira] [Updated] (RATIS-262) Fix compilation warning and deprecated api usage

2018-10-06 Thread Tsz Wo Nicholas Sze (JIRA)


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

Tsz Wo Nicholas Sze updated RATIS-262:
--
Attachment: r262_20181006.patch

> 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
> Attachments: r262_20181006.patch
>
>
> 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)


[jira] [Updated] (RATIS-262) Fix compilation warning and deprecated api usage

2018-07-20 Thread Tsz Wo Nicholas Sze (JIRA)


 [ 
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)