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

ntimofeev pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cayenne.git

commit cb0efc42fdcb5c3f7dc2d9df34b64a2776299ac2
Author: Nikita Timofeev <[email protected]>
AuthorDate: Mon Jul 4 16:51:36 2022 +0300

    CAY-2741 Cleanup TransactionDescriptor and deprecate 
DefaultTransactionDescriptor
---
 .../cayenne/tx/DefaultTransactionDescriptor.java   | 33 ----------------------
 1 file changed, 33 deletions(-)

diff --git 
a/cayenne-server/src/main/java/org/apache/cayenne/tx/DefaultTransactionDescriptor.java
 
b/cayenne-server/src/main/java/org/apache/cayenne/tx/DefaultTransactionDescriptor.java
deleted file mode 100644
index a5046c806..000000000
--- 
a/cayenne-server/src/main/java/org/apache/cayenne/tx/DefaultTransactionDescriptor.java
+++ /dev/null
@@ -1,33 +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
- *
- *    https://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.cayenne.tx;
-
-/**
- * @since 4.1
- * @deprecated since 4.2, use {@link TransactionDescriptor#defaultDescriptor()}
- */
-@Deprecated
-public class DefaultTransactionDescriptor extends TransactionDescriptor {
-
-    public static TransactionDescriptor getInstance() {
-        return TransactionDescriptor.defaultDescriptor();
-    }
-
-}

Reply via email to