[CONTROLLER-585] Config code generator produces code that has small syntax problems Created: 27/Jun/14  Updated: 25/Jul/23  Resolved: 08/Jul/14

Status: Resolved
Project: controller
Component/s: config
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Tomas Olvecky Assignee: Tomas Olvecky
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issue Links:
Duplicate
is duplicated by CONTROLLER-583 Problems with AbstractProviderModule ... Resolved
External issue ID: 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;



 Comments   
Comment by Tomas Olvecky [ 27/Jun/14 ]

https://git.opendaylight.org/gerrit/8404

Generated at Wed Feb 07 19:53:23 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.