zookeeper-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ph...@apache.org
Subject svn commit: r1755379 - in /zookeeper/trunk: ./ src/java/main/org/apache/zookeeper/cli/
Date Fri, 05 Aug 2016 21:05:32 GMT
Author: phunt
Date: Fri Aug  5 21:05:32 2016
New Revision: 1755379

URL: http://svn.apache.org/viewvc?rev=1755379&view=rev
Log:
ZOOKEEPER-2500: Fix compilation warnings for CliException classes (Abraham Fine via phunt)

Modified:
    zookeeper/trunk/CHANGES.txt
    zookeeper/trunk/src/java/main/org/apache/zookeeper/cli/CliException.java
    zookeeper/trunk/src/java/main/org/apache/zookeeper/cli/CliParseException.java
    zookeeper/trunk/src/java/main/org/apache/zookeeper/cli/CliWrapperException.java
    zookeeper/trunk/src/java/main/org/apache/zookeeper/cli/CommandNotFoundException.java
    zookeeper/trunk/src/java/main/org/apache/zookeeper/cli/MalformedCommandException.java

Modified: zookeeper/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/zookeeper/trunk/CHANGES.txt?rev=1755379&r1=1755378&r2=1755379&view=diff
==============================================================================
--- zookeeper/trunk/CHANGES.txt (original)
+++ zookeeper/trunk/CHANGES.txt Fri Aug  5 21:05:32 2016
@@ -341,6 +341,9 @@ BUGFIXES:
   ZOOKEEPER-2498: Potential resource leak in C client when processing
   unexpected / out of order response (Michael Han via rgs)
 
+  ZOOKEEPER-2500: Fix compilation warnings for CliException classes
+  (Abraham Fine via phunt)
+
 IMPROVEMENTS:
   ZOOKEEPER-2024 Major throughput improvement with mixed workloads (Kfir Lev-Ari via shralex)
 

Modified: zookeeper/trunk/src/java/main/org/apache/zookeeper/cli/CliException.java
URL: http://svn.apache.org/viewvc/zookeeper/trunk/src/java/main/org/apache/zookeeper/cli/CliException.java?rev=1755379&r1=1755378&r2=1755379&view=diff
==============================================================================
--- zookeeper/trunk/src/java/main/org/apache/zookeeper/cli/CliException.java (original)
+++ zookeeper/trunk/src/java/main/org/apache/zookeeper/cli/CliException.java Fri Aug  5 21:05:32
2016
@@ -17,6 +17,7 @@
  */
 package org.apache.zookeeper.cli;
 
+@SuppressWarnings("serial")
 public class CliException extends Exception {
 
     protected int exitCode;

Modified: zookeeper/trunk/src/java/main/org/apache/zookeeper/cli/CliParseException.java
URL: http://svn.apache.org/viewvc/zookeeper/trunk/src/java/main/org/apache/zookeeper/cli/CliParseException.java?rev=1755379&r1=1755378&r2=1755379&view=diff
==============================================================================
--- zookeeper/trunk/src/java/main/org/apache/zookeeper/cli/CliParseException.java (original)
+++ zookeeper/trunk/src/java/main/org/apache/zookeeper/cli/CliParseException.java Fri Aug
 5 21:05:32 2016
@@ -19,6 +19,7 @@ package org.apache.zookeeper.cli;
 
 import org.apache.commons.cli.ParseException;
 
+@SuppressWarnings("serial")
 public class CliParseException extends CliException {
     public CliParseException(ParseException parseException) {
         super(parseException);

Modified: zookeeper/trunk/src/java/main/org/apache/zookeeper/cli/CliWrapperException.java
URL: http://svn.apache.org/viewvc/zookeeper/trunk/src/java/main/org/apache/zookeeper/cli/CliWrapperException.java?rev=1755379&r1=1755378&r2=1755379&view=diff
==============================================================================
--- zookeeper/trunk/src/java/main/org/apache/zookeeper/cli/CliWrapperException.java (original)
+++ zookeeper/trunk/src/java/main/org/apache/zookeeper/cli/CliWrapperException.java Fri Aug
 5 21:05:32 2016
@@ -19,6 +19,7 @@ package org.apache.zookeeper.cli;
 
 import org.apache.zookeeper.KeeperException;
 
+@SuppressWarnings("serial")
 public class CliWrapperException extends CliException {
     public CliWrapperException(Throwable cause) {
         super(getMessage(cause), cause);

Modified: zookeeper/trunk/src/java/main/org/apache/zookeeper/cli/CommandNotFoundException.java
URL: http://svn.apache.org/viewvc/zookeeper/trunk/src/java/main/org/apache/zookeeper/cli/CommandNotFoundException.java?rev=1755379&r1=1755378&r2=1755379&view=diff
==============================================================================
--- zookeeper/trunk/src/java/main/org/apache/zookeeper/cli/CommandNotFoundException.java (original)
+++ zookeeper/trunk/src/java/main/org/apache/zookeeper/cli/CommandNotFoundException.java Fri
Aug  5 21:05:32 2016
@@ -17,6 +17,7 @@
  */
 package org.apache.zookeeper.cli;
 
+@SuppressWarnings("serial")
 public class CommandNotFoundException extends CliException {
 
     public CommandNotFoundException(String command) {

Modified: zookeeper/trunk/src/java/main/org/apache/zookeeper/cli/MalformedCommandException.java
URL: http://svn.apache.org/viewvc/zookeeper/trunk/src/java/main/org/apache/zookeeper/cli/MalformedCommandException.java?rev=1755379&r1=1755378&r2=1755379&view=diff
==============================================================================
--- zookeeper/trunk/src/java/main/org/apache/zookeeper/cli/MalformedCommandException.java
(original)
+++ zookeeper/trunk/src/java/main/org/apache/zookeeper/cli/MalformedCommandException.java
Fri Aug  5 21:05:32 2016
@@ -17,6 +17,7 @@
  */
 package org.apache.zookeeper.cli;
 
+@SuppressWarnings("serial")
 public class MalformedCommandException extends CliException {
     public MalformedCommandException(String message) {
         super(message);



Mime
View raw message