Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
monticore
EmbeddedMontiArc
generators
EMAM2Middleware
Commits
beaac86d
Commit
beaac86d
authored
Feb 01, 2019
by
Alexander David Hellwig
Browse files
Fix: Gson was overriding default values
parent
14b033cc
Pipeline
#102089
passed with stages
in 10 minutes and 26 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/de/monticore/lang/monticar/generator/middleware/cli/CliParameters.java
View file @
beaac86d
...
...
@@ -23,8 +23,8 @@ public class CliParameters {
this
.
outputDir
=
outputDir
;
this
.
rootModel
=
rootModel
;
this
.
generators
=
generators
;
this
.
emadlBackend
=
emadlBackend
==
null
?
DEFAULT_EMADL_BACKEND
:
emadlBackend
;
this
.
writeTagFile
=
writeTagFile
==
null
?
DEFAULT_WRITE_TAG_FILE
:
writeTagFile
;
this
.
emadlBackend
=
emadlBackend
;
this
.
writeTagFile
=
writeTagFile
;
this
.
clustringParameters
=
clustringParameters
;
}
...
...
@@ -45,11 +45,11 @@ public class CliParameters {
}
public
String
getEmadlBackend
()
{
return
emadlBackend
;
return
emadlBackend
==
null
?
DEFAULT_EMADL_BACKEND
:
emadlBackend
;
}
public
boolean
getWriteTagFile
()
{
return
writeTagFile
;
return
writeTagFile
==
null
?
DEFAULT_WRITE_TAG_FILE
:
writeTagFile
;
}
public
Optional
<
ClustringParameters
>
getClustringParameters
()
{
...
...
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