summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortjung2012-03-13 14:42:45 (EDT)
committertjung2012-03-13 14:42:45 (EDT)
commit52e5ce352eca85145a761cfd7719a623aa301131 (patch)
tree819d088f3ff3e39c433064f24da7db4a84bedd55
parent715dae19a72fcc64c1bd3551810bf6b5b33419c6 (diff)
downloadorg.eclipse.etrice-52e5ce352eca85145a761cfd7719a623aa301131.zip
org.eclipse.etrice-52e5ce352eca85145a761cfd7719a623aa301131.tar.gz
org.eclipse.etrice-52e5ce352eca85145a761cfd7719a623aa301131.tar.xz
[generator.java.gen] data class deepCopy changed, replace fixed length with .length
-rw-r--r--plugins/org.eclipse.etrice.generator.java/src/org/eclipse/etrice/generator/java/gen/DataClassGen.xtend4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.etrice.generator.java/src/org/eclipse/etrice/generator/java/gen/DataClassGen.xtend b/plugins/org.eclipse.etrice.generator.java/src/org/eclipse/etrice/generator/java/gen/DataClassGen.xtend
index 9e702f4..13e64d4 100644
--- a/plugins/org.eclipse.etrice.generator.java/src/org/eclipse/etrice/generator/java/gen/DataClassGen.xtend
+++ b/plugins/org.eclipse.etrice.generator.java/src/org/eclipse/etrice/generator/java/gen/DataClassGen.xtend
@@ -141,7 +141,7 @@ class DataClassGen {
ĞIF a.size==0ğ
copy.Ğa.nameğ = Ğa.nameğ.deepCopy();
ĞELSEğ
- for (int i=0;i<Ğa.sizeğ;i++){
+ for (int i=0;i<Ğa.nameğ.length;i++){
copy.Ğa.nameğ[i] = Ğa.nameğ[i].deepCopy();
}
ĞENDIFğ
@@ -149,7 +149,7 @@ class DataClassGen {
ĞIF a.size==0ğ
copy.Ğa.nameğ = Ğa.nameğ;
ĞELSEğ
- for (int i=0;i<Ğa.sizeğ;i++){
+ for (int i=0;i<Ğa.nameğ.length;i++){
copy.Ğa.nameğ[i] = Ğa.nameğ[i];
}
ĞENDIFğ