[
http://opencast.jira.com/browse/MH-6385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=25252#comment-25252
]
Robert Robere commented on MH-6385:
-----------------------------------
Fixed a bug in the MimeType object:
OLD:
public boolean isEquivalentTo(String type, String subtype) {
if (type.equalsIgnoreCase(type) && subtype.equalsIgnoreCase(subtype))
return true;
if (equivalents != null) {
for (MIMEEquivalent equivalent : equivalents) {
if (equivalent.matches(type, subtype))
return true;
}
}
return false;
}
NEW:
public boolean isEquivalentTo(String type, String subtype) {
if (this.type.equalsIgnoreCase(type) &&
this.subtype.equalsIgnoreCase(subtype))
return true;
if (equivalents != null) {
for (MIMEEquivalent equivalent : equivalents) {
if (equivalent.matches(type, subtype))
return true;
}
}
return false;
}
It was always returning true.
> Convert gstreamer pipeline into a workflowoperationhandler and include tests
> ----------------------------------------------------------------------------
>
> Key: MH-6385
> URL: http://opencast.jira.com/browse/MH-6385
> Project: Matterhorn Project
> Issue Type: Sub-Task
> Components: Administrative Tools
> Affects Versions: 1.2
> Reporter: Christopher Brooks
> Assignee: Robert Robere
> Fix For: 1.2
>
>
> See
> https://opencast.jira.com/svn/MH/contrib/workflow-operation-handlers/1.1.x/template/
> for a (not quite finished) template for making workflowoperationhandlers.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Matterhorn mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn
To unsubscribe please email
[email protected]
_______________________________________________