pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From le...@apache.org
Subject svn commit: r1620023 - in /pdfbox/trunk/xmpbox/src/main/java/org/apache/xmpbox/schema: DublinCoreSchema.java XMPBasicSchema.java XMPRightsManagementSchema.java
Date Sat, 23 Aug 2014 12:11:48 GMT
Author: lehmi
Date: Sat Aug 23 12:11:48 2014
New Revision: 1620023

URL: http://svn.apache.org/r1620023
Log:
PDFBOX-2276: removed deprecated methods after removing jempbox

Modified:
    pdfbox/trunk/xmpbox/src/main/java/org/apache/xmpbox/schema/DublinCoreSchema.java
    pdfbox/trunk/xmpbox/src/main/java/org/apache/xmpbox/schema/XMPBasicSchema.java
    pdfbox/trunk/xmpbox/src/main/java/org/apache/xmpbox/schema/XMPRightsManagementSchema.java

Modified: pdfbox/trunk/xmpbox/src/main/java/org/apache/xmpbox/schema/DublinCoreSchema.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/xmpbox/src/main/java/org/apache/xmpbox/schema/DublinCoreSchema.java?rev=1620023&r1=1620022&r2=1620023&view=diff
==============================================================================
--- pdfbox/trunk/xmpbox/src/main/java/org/apache/xmpbox/schema/DublinCoreSchema.java (original)
+++ pdfbox/trunk/xmpbox/src/main/java/org/apache/xmpbox/schema/DublinCoreSchema.java Sat Aug
23 12:11:48 2014
@@ -208,17 +208,6 @@ public class DublinCoreSchema extends XM
     }
 
     /**
-     * Convenience method for signature compatibility with jempbox
-     * 
-     * @see DublinCoreSchema#addDescription(String, String)
-     */
-    @Deprecated
-    public void setDescription(String language, String description)
-    {
-        addDescription(language, description);
-    }
-
-    /**
      * set the file format used when saving the resource.
      * 
      * @param mimeType
@@ -313,28 +302,6 @@ public class DublinCoreSchema extends XM
     }
 
     /**
-     * Convenience method for signature compatibility with jempbox
-     * 
-     * @see DublinCoreSchema#addRights(String, String)
-     */
-    @Deprecated
-    public void setRights(String language, String rights)
-    {
-        addRights(language, rights);
-    }
-
-    /**
-     * Convenience method for signature compatibility with jempbox. Add default rights
-     * 
-     * @see DublinCoreSchema#addRights(String, String)
-     */
-    @Deprecated
-    public void setRights(String rights)
-    {
-        addRights(null, rights);
-    }
-
-    /**
      * Set the unique identifer of the work from which this resource was derived
      * 
      * @param text
@@ -655,17 +622,6 @@ public class DublinCoreSchema extends XM
     }
 
     /**
-     * Convenience method for signature compatibility with jempbox
-     * 
-     * @see DublinCoreSchema#getRelations()
-     */
-    @Deprecated
-    public List<String> getRelationships()
-    {
-        return getRelations();
-    }
-
-    /**
      * Return the Lang alt Rights
      * 
      * @return rights property

Modified: pdfbox/trunk/xmpbox/src/main/java/org/apache/xmpbox/schema/XMPBasicSchema.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/xmpbox/src/main/java/org/apache/xmpbox/schema/XMPBasicSchema.java?rev=1620023&r1=1620022&r2=1620023&view=diff
==============================================================================
--- pdfbox/trunk/xmpbox/src/main/java/org/apache/xmpbox/schema/XMPBasicSchema.java (original)
+++ pdfbox/trunk/xmpbox/src/main/java/org/apache/xmpbox/schema/XMPBasicSchema.java Sat Aug
23 12:11:48 2014
@@ -393,17 +393,6 @@ public class XMPBasicSchema extends XMPS
     }
 
     /**
-     * Convenience method for jempbox signature compatibility
-     * 
-     * @see XMPBasicSchema#getAdvisory()
-     */
-    @Deprecated
-    public List<String> getAdvisories()
-    {
-        return getAdvisory();
-    }
-
-    /**
      * Get the BaseURL property
      * 
      * @return the base url property

Modified: pdfbox/trunk/xmpbox/src/main/java/org/apache/xmpbox/schema/XMPRightsManagementSchema.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/xmpbox/src/main/java/org/apache/xmpbox/schema/XMPRightsManagementSchema.java?rev=1620023&r1=1620022&r2=1620023&view=diff
==============================================================================
--- pdfbox/trunk/xmpbox/src/main/java/org/apache/xmpbox/schema/XMPRightsManagementSchema.java
(original)
+++ pdfbox/trunk/xmpbox/src/main/java/org/apache/xmpbox/schema/XMPRightsManagementSchema.java
Sat Aug 23 12:11:48 2014
@@ -187,17 +187,6 @@ public class XMPRightsManagementSchema e
     }
 
     /**
-     * Convenience method for jempbox signature compatibility
-     * 
-     * @see XMPRightsManagementSchema#addUsageTerms(String, String)
-     */
-    @Deprecated
-    public void setDescription(String language, String terms)
-    {
-        addUsageTerms(language, terms);
-    }
-
-    /**
      * Return the Lang alt UsageTerms
      * 
      * @return usageterms property
@@ -305,28 +294,6 @@ public class XMPRightsManagementSchema e
     }
 
     /**
-     * Convenience method for jempbox signature compatibility
-     * 
-     * @see XMPRightsManagementSchema#getCertificate()
-     */
-    @Deprecated
-    public String getCopyright()
-    {
-        return getCertificate();
-    }
-
-    /**
-     * Convenience method for jempbox signature compatibility
-     * 
-     * @see XMPRightsManagementSchema#getCertificate()
-     */
-    @Deprecated
-    public String getCertificateURL()
-    {
-        return getCertificate();
-    }
-
-    /**
      * Set the Certificate URL.
      * 
      * @param url
@@ -339,28 +306,6 @@ public class XMPRightsManagementSchema e
     }
 
     /**
-     * Convenience method for jempbox signature compatibility
-     * 
-     * @see XMPRightsManagementSchema#setCertificate(String)
-     */
-    @Deprecated
-    public void setCertificateURL(String certificate)
-    {
-        setCertificate(certificate);
-    }
-
-    /**
-     * Convenience method for jempbox signature compatibility
-     * 
-     * @see XMPRightsManagementSchema#setCertificate(String)
-     */
-    @Deprecated
-    public void setCopyright(String certificate)
-    {
-        setCertificate(certificate);
-    }
-
-    /**
      * Set the Certificate URL.
      * 
      * @param url



Mime
View raw message