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.git


The following commit(s) were added to refs/heads/master by this push:
     new 45ac3bf01ae Remove unused class DuplicateAlgorithmException. (#19963)
45ac3bf01ae is described below

commit 45ac3bf01aea3f0c9cf2953cd0985d382b2ea3a7
Author: CHENJIAHAO <[email protected]>
AuthorDate: Mon Aug 8 20:10:20 2022 +0800

    Remove unused class DuplicateAlgorithmException. (#19963)
---
 .../rule/DuplicateAlgorithmException.java          | 32 ----------------------
 1 file changed, 32 deletions(-)

diff --git 
a/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/distsql/exception/rule/DuplicateAlgorithmException.java
 
b/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/distsql/exception/rule/DuplicateAlgorithmException.java
deleted file mode 100644
index 5562ce53a15..00000000000
--- 
a/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/distsql/exception/rule/DuplicateAlgorithmException.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.shardingsphere.infra.distsql.exception.rule;
-
-import java.util.Collection;
-
-/**
- * Duplicate algorithm exception.
- */
-public final class DuplicateAlgorithmException extends 
RuleDefinitionViolationException {
-    
-    private static final long serialVersionUID = 4382238091103015055L;
-    
-    public DuplicateAlgorithmException(final String ruleType, final String 
databaseName, final Collection<String> algorithmNames) {
-        super(1122, String.format("Duplicate %s algorithm names `%s` in 
database `%s`", ruleType, algorithmNames, databaseName));
-    }
-}

Reply via email to