Skip to content

Commit 2d8dc7b

Browse files
committed
PDFBOX-6028: remove unused
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1926816 13f79535-47bb-0310-9956-ffa450edef68
1 parent c863fcd commit 2d8dc7b

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

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

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -41,23 +41,6 @@ protected AbstractStructuredType(XMPMetadata metadata)
4141
this(metadata, null, null, null);
4242
}
4343

44-
protected AbstractStructuredType(XMPMetadata metadata, String namespaceURI)
45-
{
46-
this(metadata, namespaceURI, null, null);
47-
StructuredType st = this.getClass().getAnnotation(StructuredType.class);
48-
if (st != null)
49-
{
50-
// init with annotation
51-
this.namespace = st.namespace();
52-
this.preferedPrefix = st.preferedPrefix();
53-
}
54-
else
55-
{
56-
throw new IllegalArgumentException(" StructuredType annotation cannot be null");
57-
}
58-
this.prefix = this.preferedPrefix;
59-
}
60-
6144
protected AbstractStructuredType(XMPMetadata metadata, String namespaceURI, String fieldPrefix, String propertyName)
6245
{
6346
super(metadata, propertyName);

0 commit comments

Comments
 (0)