Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-585

Config code generator produces code that has small syntax problems

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • config
    • None
    • Operating System: All
      Platform: All

    • 1252

    Description

      Generated Abstract*Module:

      if (dataBroker!=null)

      { dataBrokerDependency = dependencyResolver.resolveInstance(org.opendaylight.controller.sal.binding.api.data.DataProviderService.class, dataBroker, dataBrokerJmxAttribute);; <=== double semi-colon }

      if(oldInstance!=null && canReuseInstance(oldModule))

      { <=== indentation problem instance = reuseInstance(oldInstance); }

      else {

      And there is an unnecessary semi-colon here

      ;this.oldModule=null;

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              tolvecky@cisco.com Tomas Olvecky
              tolvecky@cisco.com Tomas Olvecky
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: