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
44e4cbcc
Commit
44e4cbcc
authored
9 months ago
by
Ludovic Apvrille
Browse files
Options
Downloads
Patches
Plain Diff
Solving bug on method addition ticket 409
parent
345860d5
No related branches found
No related tags found
No related merge requests found
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/ui/AvatarMethod.java
+10
-10
10 additions, 10 deletions
src/main/java/ui/AvatarMethod.java
with
10 additions
and
10 deletions
src/main/java/ui/AvatarMethod.java
+
10
−
10
View file @
44e4cbcc
...
...
@@ -111,6 +111,8 @@ public class AvatarMethod {
//TraceManager.addDev("Is a valid method? " + _method);
String
method
,
tmp
,
id
;
String
rt
=
""
;
...
...
@@ -337,19 +339,17 @@ public class AvatarMethod {
}
if
(
checkTypes
)
{
TraceManager
.
addDev
(
"Checking types with lowerid="
+
lowerid
);
b4
=
!((
lowerid
.
equals
(
getStringType
(
0
).
toLowerCase
()))
||
(
lowerid
.
equals
(
getStringType
(
1
).
toLowerCase
()))
||
(
lowerid
.
equals
(
getStringType
(
2
).
toLowerCase
()))
||
(
lowerid
.
equals
(
getStringType
(
3
).
toLowerCase
()))
||
(
lowerid
.
equals
(
getStringType
(
4
).
toLowerCase
())));
TraceManager
.
addDev
(
"b4="
+
b4
+
" extraTypes="
+
extraTypes
);
if
(
extraTypes
!=
null
)
{
TraceManager
.
addDev
(
"Checking extra types, with extraTypes = "
+
extraTypes
);
//TraceManager.addDev("Checking types with lowerid=" + lowerid);
b4
=
((
lowerid
.
equals
(
getStringType
(
INTEGER
).
toLowerCase
()))
||
(
lowerid
.
equals
(
getStringType
(
BOOLEAN
).
toLowerCase
())));
//TraceManager.addDev("b4=" + b4 + " extraTypes=" + extraTypes);
if
((
extraTypes
!=
null
)
&&
(
b4
==
false
)){
//TraceManager.addDev("Checking extra types, with extraTypes = " + extraTypes);
for
(
String
type:
extraTypes
)
{
String
typ
=
type
.
toLowerCase
();
TraceManager
.
addDev
(
"Comparing type >"
+
typ
+
"< with >"
+
lowerid
+
"<"
);
//
TraceManager.addDev("Comparing type >" + typ + "< with >" + lowerid + "<");
if
(
type
.
toLowerCase
().
compareTo
(
lowerid
)
==
0
)
{
TraceManager
.
addDev
(
"Similar type"
);
//
TraceManager.addDev("Similar type");
b4
=
true
;
break
;
}
...
...
This diff is collapsed.
Click to expand it.
Ludovic Apvrille
@ludovic.apvrille
mentioned in issue
#409 (closed)
·
9 months ago
mentioned in issue
#409 (closed)
mentioned in issue #409
Toggle commit list
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