[YANGTOOLS-346] mvn clean install is failing due to checkstyle rules when using union type in the .yang defs Created: 23/Oct/14  Updated: 10/Apr/22  Resolved: 24/Sep/15

Status: Resolved
Project: yangtools
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Sharon Aicler Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 2248

 Description   

when ever i define a union type in my .yang file and do "mvn clean install", I get the following error from the checkstyle plugin:

INF/services/org.opendaylight.yangtools.yang.binding.YangModelBindingProvider]
[INFO]
[INFO] — maven-checkstyle-plugin:2.12:check (default) @ sal-persisted-dom —
[INFO] Starting audit...
/root/ODL/controller/opendaylight/md-sal/sal-persisted-dom/src/main/java/org/opendaylight/yang/gen/v1/http/netconfcentral/org/ns/persistedtest/rev141020/TypedefUnionBuilder.java:2:1: Redundant import from the same package - org.opendaylight.yang.gen.v1.http.netconfcentral.org.ns.persistedtest.rev141020.TypedefUnion.
Audit done.



 Comments   
Comment by Ladislav Borak [ 27/Nov/14 ]

proposed patch: https://git.opendaylight.org/gerrit/#/c/12953/

Generated at Wed Feb 07 20:52:57 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.