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 8ba9c401098 Remove useless CaseInsensitiveQualifiedTable (#33961)
8ba9c401098 is described below

commit 8ba9c40109846754e6d201d54b210fd489c33a98
Author: Liang Zhang <[email protected]>
AuthorDate: Sun Dec 8 10:57:56 2024 +0800

    Remove useless CaseInsensitiveQualifiedTable (#33961)
---
 .../CaseInsensitiveQualifiedTable.java             | 45 ----------------------
 1 file changed, 45 deletions(-)

diff --git 
a/infra/common/src/main/java/org/apache/shardingsphere/infra/metadata/caseinsensitive/CaseInsensitiveQualifiedTable.java
 
b/infra/common/src/main/java/org/apache/shardingsphere/infra/metadata/caseinsensitive/CaseInsensitiveQualifiedTable.java
deleted file mode 100644
index d27d573d391..00000000000
--- 
a/infra/common/src/main/java/org/apache/shardingsphere/infra/metadata/caseinsensitive/CaseInsensitiveQualifiedTable.java
+++ /dev/null
@@ -1,45 +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.metadata.caseinsensitive;
-
-import lombok.EqualsAndHashCode;
-import lombok.Getter;
-import 
org.apache.shardingsphere.infra.metadata.identifier.ShardingSphereIdentifier;
-
-/**
- * Case insensitive qualified table.
- */
-@Getter
-@EqualsAndHashCode
-// TODO should merge with QualifiedTable
-public final class CaseInsensitiveQualifiedTable {
-    
-    private final ShardingSphereIdentifier schemaName;
-    
-    private final ShardingSphereIdentifier tableName;
-    
-    public CaseInsensitiveQualifiedTable(final String schemaName, final String 
tableName) {
-        this.schemaName = new ShardingSphereIdentifier(schemaName);
-        this.tableName = new ShardingSphereIdentifier(tableName);
-    }
-    
-    @Override
-    public String toString() {
-        return null == schemaName.getValue() ? tableName.getValue() : 
String.join(".", schemaName.getValue(), tableName.getValue());
-    }
-}

Reply via email to