Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
frascati
frascati
Commits
012f3de1
Commit
012f3de1
authored
May 24, 2017
by
seinturi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug fix for the default setter method name.
parent
9d53b881
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
tinfi/module/adlparser-scaadl/src/main/java/org/ow2/frascati/tinfi/emf/EMFParserSupportImpl.java
...java/org/ow2/frascati/tinfi/emf/EMFParserSupportImpl.java
+2
-1
No files found.
tinfi/module/adlparser-scaadl/src/main/java/org/ow2/frascati/tinfi/emf/EMFParserSupportImpl.java
View file @
012f3de1
...
@@ -575,7 +575,8 @@ public class EMFParserSupportImpl extends AbstractADLSupportImpl<Composite> {
...
@@ -575,7 +575,8 @@ public class EMFParserSupportImpl extends AbstractADLSupportImpl<Composite> {
type
=
typeqname
.
getLocalPart
();
type
=
typeqname
.
getLocalPart
();
}
}
String
value
=
propvalue
.
getValue
();
String
value
=
propvalue
.
getValue
();
String
setterName
=
name
.
substring
(
0
,
1
).
toUpperCase
()+
name
.
substring
(
1
);
String
setterName
=
"set"
+
name
.
substring
(
0
,
1
).
toUpperCase
()+
name
.
substring
(
1
);
AttributeDesc
adesc
=
AttributeDesc
adesc
=
new
AttributeDesc
(
cdesc
,
null
,
name
,
value
,
type
,
setterName
);
new
AttributeDesc
(
cdesc
,
null
,
name
,
value
,
type
,
setterName
);
cdesc
.
putAttribute
(
name
,
adesc
);
cdesc
.
putAttribute
(
name
,
adesc
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment