Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-2845

createAggregateDescription takes type system as argument but never uses it.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0uimaFIT
    • uimaFIT
    • None

    Description

      createAggregateDescription takes type system as argument but never uses it:

        /**
         * A factory method for creating an aggregate description.
         * 
         * @param analysisEngineDescriptions list of analysis engine descriptions.
         * @param componentNames list of component names - must be one name per description!
         * @param typeSystem the type system to be used.
         */
        public static AnalysisEngineDescription createAggregateDescription(
                List<AnalysisEngineDescription> analysisEngineDescriptions, List<String> componentNames,
                TypeSystemDescription typeSystem, TypePriorities typePriorities,
                SofaMapping[] sofaMappings, FlowControllerDescription flowControllerDescription)
                throws ResourceInitializationException
      

      In this method, the parameter "typeSystem" is never actually used.

      Attachments

        Activity

          People

            rec Richard Eckart de Castilho
            rec Richard Eckart de Castilho
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: