From f2abd3271755be07bb90c922828bcde7ce3fc97e Mon Sep 17 00:00:00 2001 From: Stefan Laner Date: Wed, 8 Jan 2014 18:02:28 +0100 Subject: modified accesses to franca name attributes using the method getName --- .../genivi/commonapi/core/generator/FrancaGeneratorExtensions.xtend | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/org.genivi.commonapi.core/src/org/genivi/commonapi/core/generator/FrancaGeneratorExtensions.xtend b/org.genivi.commonapi.core/src/org/genivi/commonapi/core/generator/FrancaGeneratorExtensions.xtend index 62b964c..4a71938 100644 --- a/org.genivi.commonapi.core/src/org/genivi/commonapi/core/generator/FrancaGeneratorExtensions.xtend +++ b/org.genivi.commonapi.core/src/org/genivi/commonapi/core/generator/FrancaGeneratorExtensions.xtend @@ -752,7 +752,7 @@ class FrancaGeneratorExtensions { case FBasicTypeId::DOUBLE: "double" case FBasicTypeId::STRING: "std::string" case FBasicTypeId::BYTE_BUFFER: "CommonAPI::ByteBuffer" - default: throw new IllegalArgumentException("Unsupported basic type: " + fBasicTypeId.name) + default: throw new IllegalArgumentException("Unsupported basic type: " + fBasicTypeId.getName) } } @@ -943,7 +943,7 @@ class FrancaGeneratorExtensions { if (fTypeRef.derived != null) hasher.putFTypeObject(fTypeRef.derived) else - hasher.putString(fTypeRef.predefined.name, Charsets::UTF_8); + hasher.putString(fTypeRef.predefined.getName, Charsets::UTF_8); } def boolean hasDerivedFStructTypes(FStructType fStructType) { -- cgit v1.2.1