[jira] [Created] (UIMA-4504) CpePipeline: Number of cores for multi-threading is fixed

2015-07-08 Thread Tobias Horsmann (JIRA)
Tobias Horsmann created UIMA-4504: - Summary: CpePipeline: Number of cores for multi-threading is fixed Key: UIMA-4504 URL: https://issues.apache.org/jira/browse/UIMA-4504 Project: UIMA Issue

Re: Generics in 2.8.0 getAllIndexedFS

2015-07-08 Thread Richard Eckart de Castilho
If type inferencing from the surrounding context wasn't done, and the user needed to cast the result, the user would be exposed to the same runtime error. So, unless there's some other pros/cons, it seems to me it would be best to allow generic type inferencing in cases where there's a

Re: Generics in 2.8.0 getAllIndexedFS

2015-07-08 Thread Marshall Schor
I agree that (3) is not safe. However it imposes a burden on the user (assuming they want to use some method that's in the type but not in TOP) to cast the result to the type. This cast could also throw a runtime error, of course. So, what I'm thinking is that there's no particular value in

Re: Generics in 2.8.0 getAllIndexedFS

2015-07-08 Thread Richard Eckart de Castilho
On 08.07.2015, at 17:11, Marshall Schor m...@schor.com wrote: I think that similar arguments apply to other getters, such as getAnnotationIndex(some-type-spec). These are currently defined to be generic methods so they do type inferencing. True. Mind, I'm arguing for the conservative and

Re: Generics in 2.8.0 getAllIndexedFS

2015-07-08 Thread Marshall Schor
I think that similar arguments apply to other getters, such as getAnnotationIndex(some-type-spec). These are currently defined to be generic methods so they do type inferencing. -Marshall On 7/8/2015 9:24 AM, Marshall Schor wrote: More about the signatures and type inference. We have the

Re: Generics in 2.8.0 getAllIndexedFS

2015-07-08 Thread Richard Eckart de Castilho
On 08.07.2015, at 17:14, Marshall Schor m...@schor.com wrote: I agree that (3) is not safe. However it imposes a burden on the user (assuming they want to use some method that's in the type but not in TOP) to cast the result to the type. This cast could also throw a runtime error, of

Re: Generics in 2.8.0 getAllIndexedFS

2015-07-08 Thread Thomas Ginter
So long as the Runtime error is meaningful and documented then I vote for option 3. T extends TOP still limits the user to the family of the UIMA universe so to speak without limiting them to an explicit FS inheritance which is a useful flexibility in spite of the risk of a casting error.

[jira] [Updated] (UIMA-4476) uima-ducc-vm has too many JDs?

2015-07-08 Thread Lou DeGenaro (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-4476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lou DeGenaro updated UIMA-4476: --- Description: Noticed was 45 JDs on apache-ducc using linux command. There should never be more than

uimaFIT: Create JCas with typesystem classpath scanning and type priorities

2015-07-08 Thread Peter Klügl
Hi, the method JCasFactory.createJCas() calls CasCreationUtils.createCas() only with null values for type priorities. Shouldn't there be a call of createTypePriorities() like for the typesystem descriptor? How can I include type priorities when I create a JCas with uimaFIT? Did I miss

[jira] [Created] (UIMA-4505) JCasFactory does not use auto-detection for type priorities and indexes

2015-07-08 Thread Richard Eckart de Castilho (JIRA)
Richard Eckart de Castilho created UIMA-4505: Summary: JCasFactory does not use auto-detection for type priorities and indexes Key: UIMA-4505 URL: https://issues.apache.org/jira/browse/UIMA-4505

[jira] [Assigned] (UIMA-4505) JCasFactory does not use auto-detection for type priorities and indexes

2015-07-08 Thread Richard Eckart de Castilho (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-4505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Richard Eckart de Castilho reassigned UIMA-4505: Assignee: Richard Eckart de Castilho JCasFactory does not use

[jira] [Resolved] (UIMA-4505) JCasFactory does not use auto-detection for type priorities and indexes

2015-07-08 Thread Richard Eckart de Castilho (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-4505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Richard Eckart de Castilho resolved UIMA-4505. -- Resolution: Fixed Fixed for createJCas() and documented that no

Jenkins build became unstable: UIMA-uimaFIT » Apache UIMA uimaFIT - Core #209

2015-07-08 Thread Apache Jenkins Server
See https://builds.apache.org/job/UIMA-uimaFIT/org.apache.uima$uimafit-core/209/changes

Jenkins build became unstable: UIMA-uimaFIT #209

2015-07-08 Thread Apache Jenkins Server
See https://builds.apache.org/job/UIMA-uimaFIT/209/changes

[jira] [Updated] (UIMA-4505) JCasFactory does not use auto-detection for type priorities and indexes

2015-07-08 Thread Richard Eckart de Castilho (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-4505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Richard Eckart de Castilho updated UIMA-4505: - Fix Version/s: 2.1.1uimaFIT JCasFactory does not use auto-detection for

[jira] [Resolved] (UIMA-4299) improve generics for UIMA indexes and iterators

2015-07-08 Thread Marshall Schor (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-4299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marshall Schor resolved UIMA-4299. -- Resolution: Fixed improve generics for UIMA indexes and iterators

[jira] [Reopened] (UIMA-4299) improve generics for UIMA indexes and iterators

2015-07-08 Thread Marshall Schor (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-4299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marshall Schor reopened UIMA-4299: -- fix JCas APIs that were incorrectly switched to FeatureStructure to TOP or T extends TOP, per

Re: Generics in 2.8.0 getAllIndexedFS

2015-07-08 Thread Marshall Schor
OK. Based on the previous discussion in this thread, and at least one other person posting their view in favor of type inferencing (vs. safety), I'm going to allow (3) to have type inference. -Marshall On 7/8/2015 11:17 AM, Richard Eckart de Castilho wrote: On 08.07.2015, at 17:11, Marshall

Re: Generics in 2.8.0 getAllIndexedFS

2015-07-08 Thread Marshall Schor
I think I see another reason to allow type inferencing, which is less user code starts failing to compile when adopting 2.8.0 from 2.7.0. This is because user code in 2.7.0 could have done: FSIteratorMyAnnot = myJCas.getJfsRepository().getAllIndexedFS(MyAnnot.type); and it would work in 2.7.0

Re: uimaFIT: Create JCas with typesystem classpath scanning and type priorities

2015-07-08 Thread Richard Eckart de Castilho
On 08.07.2015, at 22:47, Peter Klügl peter.klu...@averbis.com wrote: Hi, the method JCasFactory.createJCas() calls CasCreationUtils.createCas() only with null values for type priorities. Shouldn't there be a call of createTypePriorities() like for the typesystem descriptor? How can I