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
raphw
asm
Commits
3d2e7dc4
Commit
3d2e7dc4
authored
Mar 05, 2016
by
ebruneton
Browse files
Fixed bug
#317606
.
parent
f2432c3a
Changes
4
Hide whitespace changes
Inline
Side-by-side
test/conform/org/objectweb/asm/commons/AdviceAdapterUnitTest.java
View file @
3d2e7dc4
...
...
@@ -105,8 +105,8 @@ public class AdviceAdapterUnitTest extends AbstractTest {
System
.
err
.
println
(
off
().
append
(
"<"
).
toString
());
}
private
static
StringBu
ff
er
off
()
{
StringBu
ff
er
sb
=
new
StringBu
ff
er
();
private
static
StringBu
ild
er
off
()
{
StringBu
ild
er
sb
=
new
StringBu
ild
er
();
for
(
int
i
=
0
;
i
<
n
;
i
++)
{
sb
.
append
(
" "
);
}
...
...
test/conform/org/objectweb/asm/commons/GASMifier.java
View file @
3d2e7dc4
...
...
@@ -957,7 +957,7 @@ public class GASMifier extends ASMifier implements Opcodes {
static
String
getMethod
(
final
String
name
,
final
String
desc
)
{
Type
rt
=
Type
.
getReturnType
(
desc
);
Type
[]
argt
=
Type
.
getArgumentTypes
(
desc
);
StringBu
ff
er
buf
=
new
StringBu
ff
er
();
StringBu
ild
er
buf
=
new
StringBu
ild
er
();
buf
.
append
(
"Method.getMethod(\""
);
buf
.
append
(
rt
.
getClassName
()).
append
(
' '
);
buf
.
append
(
name
).
append
(
'('
);
...
...
test/conform/org/objectweb/asm/commons/JSRInlinerAdapterUnitTest.java
View file @
3d2e7dc4
...
...
@@ -1866,7 +1866,7 @@ public class JSRInlinerAdapterUnitTest extends TestCase {
TraceMethodVisitor
tmv
=
new
TraceMethodVisitor
(
tv
);
mn
.
accept
(
tmv
);
StringBu
ff
er
sb
=
new
StringBu
ff
er
();
StringBu
ild
er
sb
=
new
StringBu
ild
er
();
for
(
int
i
=
0
;
i
<
tv
.
text
.
size
();
i
++)
{
sb
.
append
(
tv
.
text
.
get
(
i
));
}
...
...
test/perf/org/objectweb/asm/ASMMemTest.java
View file @
3d2e7dc4
...
...
@@ -151,7 +151,7 @@ public class ASMMemTest {
int
min
=
(
int
)
(
time
/
(
60
*
1000
));
int
sec
=
(
int
)
((
time
/
1000
)
%
60
);
int
msec
=
(
int
)
(
time
%
1000
);
StringBu
ff
er
sbuf
=
new
StringBu
ff
er
(
30
);
StringBu
ild
er
sbuf
=
new
StringBu
ild
er
(
30
);
if
(
min
>
0
)
{
sbuf
.
append
(
min
);
sbuf
.
append
(
"min "
);
...
...
@@ -175,7 +175,7 @@ public class ASMMemTest {
int
mb
=
(
int
)
((
mem
>>
20
)
&
0x3FF
);
int
kb
=
(
int
)
((
mem
>>
10
)
&
0x3FF
);
int
bytes
=
(
int
)
(
mem
&
0x3FF
);
StringBu
ff
er
sbuf
=
new
StringBu
ff
er
(
30
);
StringBu
ild
er
sbuf
=
new
StringBu
ild
er
(
30
);
if
(
gb
>
0
)
{
sbuf
.
append
(
gb
);
sbuf
.
append
(
"GB "
);
...
...
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