Uploaded image for project: 'PhenoTips'
  1. PT-1315

Unchecked conversion warnings when building export-api

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects versions: None
    • Fix versions: 1.3-milestone-1
    • Components: export
    • Labels:
      None

      Description

      The latest spreadsheet export code produces a long list of unchecked conversion errors when compiled:

      [WARNING] /Users/orion/projects/phenotips/phenotips/components/export/api/src/test/java/org/phenotips/export/internal/StylerTest.java:[110,53] unchecked conversion
        required: java.util.Collection<org.phenotips.export.internal.StyleOption>
        found:    java.util.Set
      [WARNING] /Users/orion/projects/phenotips/phenotips/components/export/api/src/test/java/org/phenotips/export/internal/StylerTest.java:[111,55] unchecked conversion
        required: java.util.Collection<org.phenotips.export.internal.StyleOption>
        found:    java.util.Set
      [WARNING] /Users/orion/projects/phenotips/phenotips/components/export/api/src/test/java/org/phenotips/export/internal/StylerTest.java:[112,56] unchecked conversion
        required: java.util.Collection<org.phenotips.export.internal.StyleOption>
        found:    java.util.Set
      [WARNING] /Users/orion/projects/phenotips/phenotips/components/export/api/src/test/java/org/phenotips/export/internal/StylerTest.java:[139,53] unchecked conversion
        required: java.util.Collection<org.phenotips.export.internal.StyleOption>
        found:    java.util.Set
      [WARNING] /Users/orion/projects/phenotips/phenotips/components/export/api/src/test/java/org/phenotips/export/internal/StylerTest.java:[140,55] unchecked conversion
        required: java.util.Collection<org.phenotips.export.internal.StyleOption>
        found:    java.util.Set
      [WARNING] /Users/orion/projects/phenotips/phenotips/components/export/api/src/test/java/org/phenotips/export/internal/StylerTest.java:[141,53] unchecked conversion
        required: java.util.Collection<org.phenotips.export.internal.StyleOption>
        found:    java.util.Set
      [WARNING] /Users/orion/projects/phenotips/phenotips/components/export/api/src/test/java/org/phenotips/export/internal/StylerTest.java:[170,54] unchecked conversion
        required: java.util.Collection<org.phenotips.export.internal.StyleOption>
        found:    java.util.Set
      [WARNING] /Users/orion/projects/phenotips/phenotips/components/export/api/src/test/java/org/phenotips/export/internal/StylerTest.java:[171,54] unchecked conversion
        required: java.util.Collection<org.phenotips.export.internal.StyleOption>
        found:    java.util.Set
      [WARNING] /Users/orion/projects/phenotips/phenotips/components/export/api/src/test/java/org/phenotips/export/internal/StylerTest.java:[172,57] unchecked conversion
        required: java.util.Collection<org.phenotips.export.internal.StyleOption>
        found:    java.util.Set
      [WARNING] /Users/orion/projects/phenotips/phenotips/components/export/api/src/test/java/org/phenotips/export/internal/StylerTest.java:[202,55] unchecked conversion
        required: java.util.Collection<org.phenotips.export.internal.StyleOption>
        found:    java.util.Set
      [WARNING] /Users/orion/projects/phenotips/phenotips/components/export/api/src/test/java/org/phenotips/export/internal/StylerTest.java:[203,55] unchecked conversion
        required: java.util.Collection<org.phenotips.export.internal.StyleOption>
        found:    java.util.Set
      [WARNING] /Users/orion/projects/phenotips/phenotips/components/export/api/src/test/java/org/phenotips/export/internal/StylerTest.java:[204,58] unchecked conversion
        required: java.util.Collection<org.phenotips.export.internal.StyleOption>
        found:    java.util.Set
      [WARNING] /Users/orion/projects/phenotips/phenotips/components/export/api/src/test/java/org/phenotips/export/internal/ConversionHelpersTest.java:[85,55] unchecked conversion
        required: java.util.Map<java.lang.String,java.util.List<java.lang.String>>
        found:    java.util.Map
      [WARNING] /Users/orion/projects/phenotips/phenotips/components/export/api/src/test/java/org/phenotips/export/internal/ConversionHelpersTest.java:[242,55] unchecked conversion
        required: java.util.Map<java.lang.String,java.util.List<java.lang.String>>
        found:    java.util.Map
      [WARNING] /Users/orion/projects/phenotips/phenotips/components/export/api/src/test/java/org/phenotips/export/internal/SpreadsheetExporterTest.java:[68,54] unchecked conversion
        required: java.util.Set<java.lang.String>
        found:    java.util.Set
      [WARNING] /Users/orion/projects/phenotips/phenotips/components/export/api/src/test/java/org/phenotips/export/internal/SpreadsheetExporterTest.java:[68,65] unchecked conversion
        required: java.util.List<org.phenotips.data.Patient>
        found:    java.util.List
      [WARNING] /Users/orion/projects/phenotips/phenotips/components/export/api/src/test/java/org/phenotips/export/internal/SpreadsheetExporterTest.java:[70,54] unchecked conversion
        required: java.util.Set<java.lang.String>
        found:    java.util.Set
      [WARNING] /Users/orion/projects/phenotips/phenotips/components/export/api/src/test/java/org/phenotips/export/internal/SpreadsheetExporterTest.java:[70,65] unchecked conversion
        required: java.util.List<org.phenotips.data.Patient>
        found:    java.util.List
      [WARNING] /Users/orion/projects/phenotips/phenotips/components/export/api/src/test/java/org/phenotips/export/internal/SpreadsheetExporterTest.java:[83,54] unchecked conversion
        required: java.util.Set<java.lang.String>
        found:    java.util.Set
      [WARNING] /Users/orion/projects/phenotips/phenotips/components/export/api/src/test/java/org/phenotips/export/internal/SpreadsheetExporterTest.java:[83,65] unchecked conversion
        required: java.util.List<org.phenotips.data.Patient>
        found:    java.util.List
      [WARNING] /Users/orion/projects/phenotips/phenotips/components/export/api/src/test/java/org/phenotips/export/internal/SpreadsheetExporterTest.java:[99,54] unchecked conversion
        required: java.util.Set<java.lang.String>
        found:    java.util.Set
      [WARNING] /Users/orion/projects/phenotips/phenotips/components/export/api/src/test/java/org/phenotips/export/internal/SpreadsheetExporterTest.java:[99,65] unchecked conversion
        required: java.util.List<org.phenotips.data.Patient>
        found:    java.util.List
      [WARNING] /Users/orion/projects/phenotips/phenotips/components/export/api/src/test/java/org/phenotips/export/internal/SpreadsheetExporterTest.java:[118,58] unchecked conversion
        required: java.util.Set<java.lang.String>
        found:    java.util.Set
      [WARNING] /Users/orion/projects/phenotips/phenotips/components/export/api/src/test/java/org/phenotips/export/internal/SpreadsheetExporterTest.java:[118,69] unchecked conversion
        required: java.util.List<org.phenotips.data.Patient>
        found:    java.util.List
      [WARNING] /Users/orion/projects/phenotips/phenotips/components/export/api/src/test/java/org/phenotips/export/internal/SpreadsheetExporterTest.java:[122,36] unchecked conversion
        required: java.util.Set<java.lang.String>
        found:    java.util.Set
      [WARNING] /Users/orion/projects/phenotips/phenotips/components/export/api/src/test/java/org/phenotips/export/internal/SpreadsheetExporterTest.java:[122,47] unchecked conversion
        required: java.util.List<org.phenotips.data.Patient>
        found:    java.util.List
      

        Attachments

          Activity

            People

            • Assignee:
              sdumitriu Sergiu Dumitriu
              Reporter:
              buske Orion Buske
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: