question: private boolean matchAtom ( ContentType acceptedContentType ) { String atomType = getAttribute ( "type" ) ; String acceptedAtomType = acceptedContentType . getAttribute ( "type" ) ; return atomType == null || acceptedAtomType == null || atomType . equals ( acceptedAtomType ) ; }
target:  Compares the optional 'type' attribute of two content types. <p>This method accepts atom content type without the 'type' attribute but if the types are specified, they must match.