hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject [1/2] httpcomponents-core git commit: MethodNotSupportedException to extend ProtocolException
Date Sun, 05 Nov 2017 18:48:55 GMT
Repository: httpcomponents-core
Updated Branches:
  refs/heads/master 024110db3 -> 0194db53d


MethodNotSupportedException to extend ProtocolException


Project: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/commit/b70a294a
Tree: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/tree/b70a294a
Diff: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/diff/b70a294a

Branch: refs/heads/master
Commit: b70a294a95e966c7665bf8f2e1ae17a54e58f353
Parents: 024110d
Author: Oleg Kalnichevski <olegk@apache.org>
Authored: Sun Nov 5 19:35:00 2017 +0100
Committer: Oleg Kalnichevski <olegk@apache.org>
Committed: Sun Nov 5 19:35:00 2017 +0100

----------------------------------------------------------------------
 .../org/apache/hc/core5/http/MethodNotSupportedException.java   | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/httpcomponents-core/blob/b70a294a/httpcore5/src/main/java/org/apache/hc/core5/http/MethodNotSupportedException.java
----------------------------------------------------------------------
diff --git a/httpcore5/src/main/java/org/apache/hc/core5/http/MethodNotSupportedException.java
b/httpcore5/src/main/java/org/apache/hc/core5/http/MethodNotSupportedException.java
index 9edf555..b32b0be 100644
--- a/httpcore5/src/main/java/org/apache/hc/core5/http/MethodNotSupportedException.java
+++ b/httpcore5/src/main/java/org/apache/hc/core5/http/MethodNotSupportedException.java
@@ -27,15 +27,12 @@
 
 package org.apache.hc.core5.http;
 
-
 /**
  * Signals that an HTTP method is not supported.
  *
  * @since 4.0
  */
-public class MethodNotSupportedException extends HttpException {
-
-    private static final long serialVersionUID = 3365359036840171201L;
+public class MethodNotSupportedException extends ProtocolException {
 
     /**
      * Creates a new MethodNotSupportedException with the specified detail message.


Mime
View raw message