You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2020/10/19 13:06:15 UTC

[shardingsphere-elasticjob] branch master updated: Remove unused field path in HandlerNotFoundException (#1609)

This is an automated email from the ASF dual-hosted git repository.

zhangliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere-elasticjob.git


The following commit(s) were added to refs/heads/master by this push:
     new da09809  Remove unused field path in HandlerNotFoundException (#1609)
da09809 is described below

commit da09809c755c327bcb6bb8630a42e24b3ead615e
Author: 吴伟杰 <ro...@me.com>
AuthorDate: Mon Oct 19 21:06:06 2020 +0800

    Remove unused field path in HandlerNotFoundException (#1609)
---
 .../elasticjob/restful/handler/HandlerNotFoundException.java           | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/elasticjob-infra/elasticjob-restful/src/main/java/org/apache/shardingsphere/elasticjob/restful/handler/HandlerNotFoundException.java b/elasticjob-infra/elasticjob-restful/src/main/java/org/apache/shardingsphere/elasticjob/restful/handler/HandlerNotFoundException.java
index e3ac94b..376971d 100644
--- a/elasticjob-infra/elasticjob-restful/src/main/java/org/apache/shardingsphere/elasticjob/restful/handler/HandlerNotFoundException.java
+++ b/elasticjob-infra/elasticjob-restful/src/main/java/org/apache/shardingsphere/elasticjob/restful/handler/HandlerNotFoundException.java
@@ -23,10 +23,7 @@ public final class HandlerNotFoundException extends RuntimeException {
     
     private static final long serialVersionUID = 7316145545440327554L;
     
-    private final String path;
-    
     public HandlerNotFoundException(final String path) {
         super(MessageFormat.format("No handler found for [{0}].", path));
-        this.path = path;
     }
 }