Uploaded image for project: 'HAL'
  1. HAL
  2. HAL-1816

Hardcoded string "jdbc-compliant" could be replaced by ModelDescriptionConstants

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 3.6.5.Final
    • None
    • None
    • None

      Hardcoded string "jdbc-compliant" inside JdbcDriverPreview.java Could be replaced by ModelDescriptionConstants. "jdbc-compliant" is an UI string in JDBC driver preview page. 

       

      PreviewAttributes<JdbcDriver> attributes = new PreviewAttributes<>(driver) .append(DRIVER_CLASS_NAME) .append(DRIVER_DATASOURCE_CLASS_NAME) .append(DRIVER_XA_DATASOURCE_CLASS_NAME) .append(model -> new PreviewAttribute(labelBuilder.label(DRIVER_VERSION), model.getDriverVersion())) .append("jdbc-compliant"); 

       
      Adding  "jdbc-compliant" to the ModelDescriptionConstants for constant reusability. 

       

       

       

       

       

              rhn-support-abaral1 Anilabha Baral
              rhn-support-abaral1 Anilabha Baral
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: