You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by ta...@apache.org on 2020/08/13 14:35:56 UTC

[tika] 10/10: trivial bug recently discovered in regression testing of PDFBox

This is an automated email from the ASF dual-hosted git repository.

tallison pushed a commit to branch branch_1x
in repository https://gitbox.apache.org/repos/asf/tika.git

commit beabad790678343ef4d369a0fa57a03cd67fb694
Author: tallison <ta...@apache.org>
AuthorDate: Thu Aug 13 10:16:02 2020 -0400

    trivial bug recently discovered in regression testing of PDFBox
---
 tika-core/src/main/java/org/apache/tika/metadata/XMP.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tika-core/src/main/java/org/apache/tika/metadata/XMP.java b/tika-core/src/main/java/org/apache/tika/metadata/XMP.java
index 867248e..7dbce0a 100644
--- a/tika-core/src/main/java/org/apache/tika/metadata/XMP.java
+++ b/tika-core/src/main/java/org/apache/tika/metadata/XMP.java
@@ -82,6 +82,6 @@ public interface XMP {
      * [0..5], where -1 indicates “rejected” and 0 indicates “unrated”. If xmp:Rating
      * is not present, a value of 0 should be assumed.
      */
-    Property RATING = Property.externalReal(PREFIX_ + "Rating");
+    Property RATING = Property.externalInteger(PREFIX_ + "Rating");
 
 }