Fixed toString bug. Fixed yang versions used in tests.
authorMartin Vitez <mvitez@cisco.com>
Mon, 30 Sep 2013 09:41:07 +0000 (11:41 +0200)
committerMartin Vitez <mvitez@cisco.com>
Mon, 30 Sep 2013 09:41:07 +0000 (11:41 +0200)
Signed-off-by: Martin Vitez <mvitez@cisco.com>
code-generator/binding-java-api-generator/src/main/java/org/opendaylight/yangtools/sal/java/api/generator/ClassTemplate.xtend
model/iana/iana-afn-safi/pom.xml
model/iana/iana-if-type/pom.xml
model/ietf/ietf-inet-types/pom.xml
model/ietf/ietf-ted/pom.xml
model/ietf/ietf-topology/pom.xml
model/ietf/ietf-yang-types/pom.xml

index b97e9b01cf279ab2bdf23e238b97a257aae1383f..f75f5a4f58fb72af6316d8076fe7993c9b1824ad 100644 (file)
@@ -336,7 +336,6 @@ class ClassTemplate extends BaseTemplate {
                 «ELSE»\r
                     builder.append(«properties.get(0).fieldName»);\r
                 «ENDIF»\r
-                builder.append(«properties.get(0).fieldName»);\r
                 «FOR i : 1..<genTO.toStringIdentifiers.size»\r
                     builder.append(", «properties.get(i).fieldName»=");\r
                     «IF properties.get(i).returnType.name.contains("[")»\r
index 598a7538cff81a85f685b6c2fa1dd34479913e59..916bf246e7afb61e40b66cddb18cb13ee91eab36 100644 (file)
@@ -8,7 +8,7 @@
 
     <modelVersion>4.0.0</modelVersion>
     <artifactId>iana-afn-safi</artifactId>
-    <version>2013.07.04.1-SNAPSHOT</version>
+    <version>2013.07.04.2-SNAPSHOT</version>
 
     <build>
         <plugins>
index 005584995918153d699f8cdcf5cce4fd8a1d0ea4..f2a672fd6239890bf0d17629e267c0f8253e03e5 100644 (file)
@@ -8,7 +8,7 @@
 
     <modelVersion>4.0.0</modelVersion>
     <artifactId>iana-if-type</artifactId>
-    <version>2013.07.04.1-SNAPSHOT</version>
+    <version>2013.07.04.2-SNAPSHOT</version>
 
     <build>
         <plugins>
index b39644080dafbf26d710b042ab1c3d0a5fce4a1e..ab019420b7f52263ab484570d59e755cd5eccafa 100644 (file)
@@ -8,7 +8,7 @@
 
     <modelVersion>4.0.0</modelVersion>
     <artifactId>ietf-inet-types</artifactId>
-    <version>2010.09.24.1-SNAPSHOT</version>
+    <version>2010.09.24.2-SNAPSHOT</version>
     <name>${project.artifactId}</name>
     <description>${project.artifactId}</description>
 
index efe698030c9c0644fe242087d58d32b16fc74f4f..9257c7d3f295be34e94a887d1ca7ea76ef3370ad 100644 (file)
@@ -8,7 +8,7 @@
 
     <modelVersion>4.0.0</modelVersion>
     <artifactId>ietf-ted</artifactId>
-    <version>2013.07.12.1-SNAPSHOT</version>
+    <version>2013.07.12.2-SNAPSHOT</version>
     <name>${project.artifactId}</name>
     <description>${project.artifactId}</description>
 
         <dependency>
             <groupId>org.opendaylight.yangtools.model</groupId>
             <artifactId>ietf-inet-types</artifactId>
-            <version>2010.09.24.1-SNAPSHOT</version>
+            <version>2010.09.24.2-SNAPSHOT</version>
         </dependency>
         <dependency>
             <groupId>org.opendaylight.yangtools.model</groupId>
             <artifactId>ietf-yang-types</artifactId>
-            <version>2010.09.24.1-SNAPSHOT</version>
+            <version>2010.09.24.2-SNAPSHOT</version>
         </dependency>
     </dependencies>
 
index e598afd2d37633c581424e52bc1499e73a8ae7ae..27b0559f4be2265e8708028c5b61082d4199801f 100644 (file)
@@ -8,7 +8,7 @@
 
     <modelVersion>4.0.0</modelVersion>
     <artifactId>ietf-topology</artifactId>
-    <version>2013.07.12.1-SNAPSHOT</version>
+    <version>2013.07.12.2-SNAPSHOT</version>
     <name>${project.artifactId}</name>
     <description>${project.artifactId}</description>
 
         <dependency>
             <groupId>org.opendaylight.yangtools.model</groupId>
             <artifactId>ietf-inet-types</artifactId>
-            <version>2010.09.24.1-SNAPSHOT</version>
+            <version>2010.09.24.2-SNAPSHOT</version>
         </dependency>
         <dependency>
             <groupId>org.opendaylight.yangtools.model</groupId>
             <artifactId>ietf-yang-types</artifactId>
-            <version>2010.09.24.1-SNAPSHOT</version>
+            <version>2010.09.24.2-SNAPSHOT</version>
         </dependency>
     </dependencies>
 
index 606d33a1de2f8ec5eebad50e6ac3f78c9018ea9b..89900f39fa693884d5c417855e9b446914e613d3 100644 (file)
@@ -8,7 +8,7 @@
 
     <modelVersion>4.0.0</modelVersion>
     <artifactId>ietf-yang-types</artifactId>
-    <version>2010.09.24.1-SNAPSHOT</version>
+    <version>2010.09.24.2-SNAPSHOT</version>
     <name>${project.artifactId}</name>
     <description>${project.artifactId}</description>