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

Option check if parameter name (constant value) corresponds to field name

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: uimaFIT-Maven-Plugin
    • Labels:
      None

      Description

      Check if the parameter name (constant) value corresponds to the field, e.g.:

      public static final String PARAM_MIN_NGRAM_SIZE = "MinNGramSize";
      @ConfigurationParameter(name = PARAM_MIN_NGRAM_SIZE, mandatory = true, defaultValue = "1")
      private int minNGramSize;
      

      It should be possible to generate a warning here because the field is called "minNGramSize" and the parameter name is "MinNGramSize".

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated: