You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by nt...@apache.org on 2022/07/04 13:52:23 UTC
[cayenne] 02/03: CAY-2741 Cleanup TransactionDescriptor and deprecate DefaultTransactionDescriptor
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 <st...@gmail.com>
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();
- }
-
-}