[libspring-java] 16/19: Removed the JPA 2.0 patch (fixed upstream)

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Wed Dec 3 15:39:46 UTC 2014


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository libspring-java.

commit 89ecaa0f3e0a09df3af76663103e26afd6270ab9
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Wed Dec 3 15:34:14 2014 +0100

    Removed the JPA 2.0 patch (fixed upstream)
---
 debian/patches/0008_jpa_20_api.diff | 29 -----------------------------
 debian/patches/series               |  1 -
 2 files changed, 30 deletions(-)

diff --git a/debian/patches/0008_jpa_20_api.diff b/debian/patches/0008_jpa_20_api.diff
deleted file mode 100644
index 8dc8546..0000000
--- a/debian/patches/0008_jpa_20_api.diff
+++ /dev/null
@@ -1,29 +0,0 @@
-Description: JPA 2.0 compatibility patch
-Author: Miguel Landaeta <miguel at miguel.cc>
-Forwarded: no
-Last-Update: 2010-07-02
-
---- a/projects/org.springframework.orm/src/main/java/org/springframework/orm/jpa/persistenceunit/MutablePersistenceUnitInfo.java
-+++ b/projects/org.springframework.orm/src/main/java/org/springframework/orm/jpa/persistenceunit/MutablePersistenceUnitInfo.java
-@@ -22,6 +22,8 @@
- import java.util.Properties;
- import javax.persistence.spi.ClassTransformer;
- import javax.persistence.spi.PersistenceUnitTransactionType;
-+import javax.persistence.SharedCacheMode;
-+import javax.persistence.ValidationMode;
- import javax.sql.DataSource;
- 
- import org.springframework.util.ClassUtils;
-@@ -220,4 +222,12 @@
- 		return builder.toString();
- 	}
- 
-+	public SharedCacheMode getSharedCacheMode() {
-+		throw new UnsupportedOperationException("getSharedCacheMode");
-+	}
-+
-+	public ValidationMode getValidationMode() {
-+		throw new UnsupportedOperationException("getValidationMode");
-+	}
-+
- }
diff --git a/debian/patches/series b/debian/patches/series
index 16c080d..8746737 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,5 +1,4 @@
 0003_no_ibm_websphere.diff
 0005_commonj.diff
 0007_remove_backport_util_concurrent.patch
-0008_jpa_20_api.diff
 0010_velocity_17.diff

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libspring-java.git



More information about the pkg-java-commits mailing list