zookeeper-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ph...@apache.org
Subject svn commit: r1755380 - in /zookeeper/branches/branch-3.5: ./ src/java/main/org/apache/zookeeper/cli/
Date Fri, 05 Aug 2016 21:06:40 GMT
Author: phunt
Date: Fri Aug  5 21:06:40 2016
New Revision: 1755380

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

Modified:
    zookeeper/branches/branch-3.5/CHANGES.txt
    zookeeper/branches/branch-3.5/src/java/main/org/apache/zookeeper/cli/CliException.java
    zookeeper/branches/branch-3.5/src/java/main/org/apache/zookeeper/cli/CliParseException.java
    zookeeper/branches/branch-3.5/src/java/main/org/apache/zookeeper/cli/CliWrapperException.java
    zookeeper/branches/branch-3.5/src/java/main/org/apache/zookeeper/cli/CommandNotFoundException.java
    zookeeper/branches/branch-3.5/src/java/main/org/apache/zookeeper/cli/MalformedCommandException.java

Modified: zookeeper/branches/branch-3.5/CHANGES.txt
URL: http://svn.apache.org/viewvc/zookeeper/branches/branch-3.5/CHANGES.txt?rev=1755380&r1=1755379&r2=1755380&view=diff
==============================================================================
--- zookeeper/branches/branch-3.5/CHANGES.txt (original)
+++ zookeeper/branches/branch-3.5/CHANGES.txt Fri Aug  5 21:06:40 2016
@@ -14,6 +14,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:
 
 

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

Modified: zookeeper/branches/branch-3.5/src/java/main/org/apache/zookeeper/cli/CliParseException.java
URL: http://svn.apache.org/viewvc/zookeeper/branches/branch-3.5/src/java/main/org/apache/zookeeper/cli/CliParseException.java?rev=1755380&r1=1755379&r2=1755380&view=diff
==============================================================================
--- zookeeper/branches/branch-3.5/src/java/main/org/apache/zookeeper/cli/CliParseException.java
(original)
+++ zookeeper/branches/branch-3.5/src/java/main/org/apache/zookeeper/cli/CliParseException.java
Fri Aug  5 21:06:40 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/branches/branch-3.5/src/java/main/org/apache/zookeeper/cli/CliWrapperException.java
URL: http://svn.apache.org/viewvc/zookeeper/branches/branch-3.5/src/java/main/org/apache/zookeeper/cli/CliWrapperException.java?rev=1755380&r1=1755379&r2=1755380&view=diff
==============================================================================
--- zookeeper/branches/branch-3.5/src/java/main/org/apache/zookeeper/cli/CliWrapperException.java
(original)
+++ zookeeper/branches/branch-3.5/src/java/main/org/apache/zookeeper/cli/CliWrapperException.java
Fri Aug  5 21:06:40 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/branches/branch-3.5/src/java/main/org/apache/zookeeper/cli/CommandNotFoundException.java
URL: http://svn.apache.org/viewvc/zookeeper/branches/branch-3.5/src/java/main/org/apache/zookeeper/cli/CommandNotFoundException.java?rev=1755380&r1=1755379&r2=1755380&view=diff
==============================================================================
--- zookeeper/branches/branch-3.5/src/java/main/org/apache/zookeeper/cli/CommandNotFoundException.java
(original)
+++ zookeeper/branches/branch-3.5/src/java/main/org/apache/zookeeper/cli/CommandNotFoundException.java
Fri Aug  5 21:06:40 2016
@@ -17,6 +17,7 @@
  */
 package org.apache.zookeeper.cli;
 
+@SuppressWarnings("serial")
 public class CommandNotFoundException extends CliException {
 
     public CommandNotFoundException(String command) {

Modified: zookeeper/branches/branch-3.5/src/java/main/org/apache/zookeeper/cli/MalformedCommandException.java
URL: http://svn.apache.org/viewvc/zookeeper/branches/branch-3.5/src/java/main/org/apache/zookeeper/cli/MalformedCommandException.java?rev=1755380&r1=1755379&r2=1755380&view=diff
==============================================================================
--- zookeeper/branches/branch-3.5/src/java/main/org/apache/zookeeper/cli/MalformedCommandException.java
(original)
+++ zookeeper/branches/branch-3.5/src/java/main/org/apache/zookeeper/cli/MalformedCommandException.java
Fri Aug  5 21:06:40 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