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 2023/01/25 04:52:46 UTC

[shardingsphere] branch master updated: removes unused file and package (#23724)

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 67ca398c59a removes unused file and package (#23724)
67ca398c59a is described below

commit 67ca398c59ad0798ef9fbdbcd2552b2b76192725
Author: Naman Mishra <na...@gmail.com>
AuthorDate: Wed Jan 25 10:22:39 2023 +0530

    removes unused file and package (#23724)
---
 .../annotation/ShardingSphereTransactionType.java  | 42 ----------------------
 1 file changed, 42 deletions(-)

diff --git a/kernel/transaction/core/src/main/java/org/apache/shardingsphere/transaction/annotation/ShardingSphereTransactionType.java b/kernel/transaction/core/src/main/java/org/apache/shardingsphere/transaction/annotation/ShardingSphereTransactionType.java
deleted file mode 100644
index 4b24bc62646..00000000000
--- a/kernel/transaction/core/src/main/java/org/apache/shardingsphere/transaction/annotation/ShardingSphereTransactionType.java
+++ /dev/null
@@ -1,42 +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.transaction.annotation;
-
-import org.apache.shardingsphere.transaction.api.TransactionType;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Inherited;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-/**
- * ShardingSphere transactional annotation.
- */
-@Target({ElementType.METHOD, ElementType.TYPE})
-@Retention(RetentionPolicy.RUNTIME)
-@Inherited
-public @interface ShardingSphereTransactionType {
-    
-    /**
-     * Transaction type, include LOCAL, XA, BASE, default is LOCAL.
-     *
-     * @return transaction type
-     */
-    TransactionType value() default TransactionType.LOCAL;
-}