Author: tilman
Date: Tue Dec 30 12:15:11 2025
New Revision: 1930982

Log:
PDFBOX-6137: introduce new method with correct name, deprecate old method

Modified:
   pdfbox/branches/2.0/xmpbox/src/main/java/org/apache/xmpbox/XMPMetadata.java

Modified: 
pdfbox/branches/2.0/xmpbox/src/main/java/org/apache/xmpbox/XMPMetadata.java
==============================================================================
--- pdfbox/branches/2.0/xmpbox/src/main/java/org/apache/xmpbox/XMPMetadata.java 
Tue Dec 30 12:10:29 2025        (r1930981)
+++ pdfbox/branches/2.0/xmpbox/src/main/java/org/apache/xmpbox/XMPMetadata.java 
Tue Dec 30 12:15:11 2025        (r1930982)
@@ -372,9 +372,23 @@ public class XMPMetadata
      * This method return null if not found.
      * 
      * @return The PDFAIdentificationSchema schema or null if not declared
+     * @deprecated call {@link #getPDFAIdentificationSchema()}
      */
+    @Deprecated
     public PDFAIdentificationSchema getPDFIdentificationSchema()
     {
+        return getPDFAIdentificationSchema();
+    }
+
+    /**
+     * Get the PDFA Identification schema.
+     *
+     * This method return null if not found.
+     *
+     * @return The PDFAIdentificationSchema schema or null if not declared
+     */
+    public PDFAIdentificationSchema getPDFAIdentificationSchema()
+    {
         return (PDFAIdentificationSchema) 
getSchema(PDFAIdentificationSchema.class);
     }
 

Reply via email to