Skip to content

Commit

Permalink
using constant from Constants
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Wilper committed Jul 12, 2008
1 parent 790da99 commit c1464c1
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/java/fedora/utilities/cma/analyzer/DefaultClassifier.java
Expand Up @@ -82,10 +82,6 @@ public class DefaultClassifier
/** MIME type for RELS datastreams. */
private static final String RELS_MIME_TYPE = "application/rdf+xml";

/** Old CModel property now accessed as an ext. property */
private static final String CMODEL_PROPERTY =
"info:fedora/fedora-system:def/model#contentModel";

/** Whether the basic content model will be explicit in the output. */
private final boolean m_explicitBasicModel;

Expand Down Expand Up @@ -264,7 +260,8 @@ private Signature getSignature(DigitalObject obj) {
addBoundDatastreams(assignments, dsIDs);

return new Signature(m_aspects.contains(Aspect.ORIG_CONTENT_MODEL)
? obj.getExtProperty(CMODEL_PROPERTY)
? obj.getExtProperty(
Constants.MODEL.CONTENT_MODEL.uri)
: null,
m_aspects.contains(Aspect.BDEF_PIDS)
? getBDefPIDs(obj)
Expand Down

0 comments on commit c1464c1

Please sign in to comment.