Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Gruetzmacher
asm
Commits
bb3bdde4
Commit
bb3bdde4
authored
Jul 03, 2018
by
Eric Bruneton
Browse files
Address the code review comments.
parent
7d045e01
Changes
1
Hide whitespace changes
Inline
Side-by-side
asm-commons/src/main/java/org/objectweb/asm/commons/GeneratorAdapter.java
View file @
bb3bdde4
...
...
@@ -745,7 +745,7 @@ public class GeneratorAdapter extends LocalVariablesSorter {
||
from
.
getSort
()
>
Type
.
DOUBLE
||
to
.
getSort
()
<
Type
.
BOOLEAN
||
to
.
getSort
()
>
Type
.
DOUBLE
)
{
throw
new
IllegalArgumentException
();
throw
new
IllegalArgumentException
(
"Cannot cast from "
+
from
+
" to "
+
to
);
}
if
(
from
==
Type
.
DOUBLE_TYPE
)
{
if
(
to
==
Type
.
FLOAT_TYPE
)
{
...
...
Write
Preview
Supports
Markdown
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