Skip to content

Commit 00b7adc

Browse files
committed
PDFBOX-5660: remove dead code, add comment
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1930971 13f79535-47bb-0310-9956-ffa450edef68
1 parent e685dd8 commit 00b7adc

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

xmpbox/src/main/java/org/apache/xmpbox/xml/XmpSerializer.java

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -204,11 +204,10 @@ else if (field instanceof AbstractStructuredType)
204204
// all properties
205205
serializeFields(doc, estructured, innerFields,resourceNS, null, true);
206206
}
207-
else
208-
{
209-
// XXX finish serialization classes
210-
System.err.println(">> TODO >> " + field.getClass());
211-
}
207+
// else doesn't happen:
208+
// AbstractField is only extended by AbstractSimpleProperty and AbstractComplexProperty
209+
// AbstractComplexProperty is only extended by AbstractStructuredType and ArrayProperty
210+
// And all these are handled here.
212211
}
213212
}
214213

0 commit comments

Comments
 (0)