[
https://issues.apache.org/jira/browse/UIMA-1188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12641808#action_12641808
]
julien nioche commented on UIMA-1188:
-------------------------------------
Indeed, I forgot to do "svn add" before generating the diff.
Maybe we could add the following method to FSBooleanConstraintImpl?
public String toString() {
// need to escape quotes and backslashes
StringBuffer buf = new StringBuffer();
buf.append("= \"");
buf.append(constraint);
buf.append("\"");
return buf.toString();
}
> More constraints for primitive types
> ------------------------------------
>
> Key: UIMA-1188
> URL: https://issues.apache.org/jira/browse/UIMA-1188
> Project: UIMA
> Issue Type: New Feature
> Components: Core Java Framework
> Reporter: julien nioche
> Assignee: Thilo Goetz
> Priority: Minor
> Fix For: 2.3
>
> Attachments: booleanConstraint.diff
>
>
> ConstraintFactory currently has the following methods:
> createIntConstraint()
> createFloatConstraint()
> createStringConstraint()
> but there is corresponding constraints for bytes, shorts, longs or booleans.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.