Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
TTool
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mbe-tools
TTool
Commits
c7553dff
Commit
c7553dff
authored
6 years ago
by
Dominique Blouin
Browse files
Options
Downloads
Patches
Plain Diff
Fixed indentation
parent
42ecbfd3
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/tmltranslator/TMLChoice.java
+7
-11
7 additions, 11 deletions
src/main/java/tmltranslator/TMLChoice.java
with
7 additions
and
11 deletions
src/main/java/tmltranslator/TMLChoice.java
+
7
−
11
View file @
c7553dff
...
@@ -36,14 +36,12 @@
...
@@ -36,14 +36,12 @@
* knowledge of the CeCILL license and that you accept its terms.
* knowledge of the CeCILL license and that you accept its terms.
*/
*/
package
tmltranslator
;
package
tmltranslator
;
import
myutil.Conversion
;
import
myutil.Conversion
;
import
java.util.ArrayList
;
import
java.util.ArrayList
;
import
java.util.List
;
/**
/**
* Class TMLChoice
* Class TMLChoice
...
@@ -52,7 +50,7 @@ import java.util.ArrayList;
...
@@ -52,7 +50,7 @@ import java.util.ArrayList;
* @author Ludovic APVRILLE
* @author Ludovic APVRILLE
*/
*/
public
class
TMLChoice
extends
TMLActivityElement
{
public
class
TMLChoice
extends
TMLActivityElement
{
private
Array
List
<
String
>
guards
;
private
List
<
String
>
guards
;
public
TMLChoice
(
String
_name
,
Object
_referenceObject
)
{
public
TMLChoice
(
String
_name
,
Object
_referenceObject
)
{
super
(
_name
,
_referenceObject
);
super
(
_name
,
_referenceObject
);
...
@@ -331,13 +329,11 @@ public class TMLChoice extends TMLActivityElement{
...
@@ -331,13 +329,11 @@ public class TMLChoice extends TMLActivityElement{
}
}
}
}
public
String
customExtraToXML
()
{
public
String
customExtraToXML
()
{
String
g
=
""
;
String
g
=
""
;
for
(
String
s:
guards
)
{
for
(
String
s:
guards
)
{
g
+=
s
+
";"
;
g
+=
s
+
";"
;
}
}
return
" guards=\""
+
g
+
"\" "
;
return
" guards=\""
+
g
+
"\" "
;
}
}
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment