Return-Path: X-Original-To: apmail-pdfbox-commits-archive@www.apache.org Delivered-To: apmail-pdfbox-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A1223116C7 for ; Sat, 23 Aug 2014 12:12:13 +0000 (UTC) Received: (qmail 85396 invoked by uid 500); 23 Aug 2014 12:12:13 -0000 Delivered-To: apmail-pdfbox-commits-archive@pdfbox.apache.org Received: (qmail 85372 invoked by uid 500); 23 Aug 2014 12:12:13 -0000 Mailing-List: contact commits-help@pdfbox.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@pdfbox.apache.org Delivered-To: mailing list commits@pdfbox.apache.org Received: (qmail 85363 invoked by uid 99); 23 Aug 2014 12:12:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 Aug 2014 12:12:13 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 Aug 2014 12:11:50 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 0308823889E7; Sat, 23 Aug 2014 12:11:49 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commits@pdfbox.apache.org From: lehmi@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20140823121149.0308823889E7@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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 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 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