Skip to content

Commit 190882d

Browse files
committed
PDFBOX-6111: add comment
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1930127 13f79535-47bb-0310-9956-ffa450edef68
1 parent fbacbdc commit 190882d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

xmpbox/src/main/java/org/apache/xmpbox/type/ArrayProperty.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ public List<String> getElementsAsString()
7373
{
7474
List<AbstractField> allProperties = getContainer().getAllProperties();
7575
List<String> retval = new ArrayList<>(allProperties.size());
76+
//FIXME this will produce a ClassCastException if the elements are not of type AbstractSimpleProperty
7677
allProperties.forEach(tmp -> retval.add(((AbstractSimpleProperty) tmp).getStringValue()));
7778
return Collections.unmodifiableList(retval);
7879
}

0 commit comments

Comments
 (0)