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
Jamie Mansfield
asm
Commits
bc1bdc21
Unverified
Commit
bc1bdc21
authored
Aug 15, 2018
by
Jamie Mansfield
Browse files
Eliminate double-spaced output from Textifier
parent
f86d1ce7
Pipeline
#2575
passed with stage
in 7 minutes and 3 seconds
Changes
9
Pipelines
1
Show whitespace changes
Inline
Side-by-side
.gitignore
View file @
bc1bdc21
...
...
@@ -4,7 +4,11 @@ build/
# Files generated by Eclipse
**/.classpath
**/.gitignore
**/.project
**/.settings/
**/bin/
# Files generated by IntelliJ
.idea/
out/
*.iml
asm-util/src/main/java/org/objectweb/asm/util/Textifier.java
View file @
bc1bdc21
...
...
@@ -191,15 +191,16 @@ public class Textifier extends Printer {
if
(
superName
!=
null
&&
!
"java/lang/Object"
.
equals
(
superName
))
{
stringBuilder
.
append
(
" extends "
);
appendDescriptor
(
INTERNAL_NAME
,
superName
);
stringBuilder
.
append
(
' '
);
}
if
(
interfaces
!=
null
&&
interfaces
.
length
>
0
)
{
stringBuilder
.
append
(
" implements "
);
for
(
int
i
=
0
;
i
<
interfaces
.
length
;
++
i
)
{
appendDescriptor
(
INTERNAL_NAME
,
interfaces
[
i
]);
if
(
i
!=
interfaces
.
length
-
1
)
{
stringBuilder
.
append
(
' '
);
}
}
}
stringBuilder
.
append
(
" {\n\n"
);
text
.
add
(
stringBuilder
.
toString
());
...
...
asm-util/src/test/resources/jdk3.AllStructures$1.txt
View file @
bc1bdc21
asm-util/src/test/resources/jdk3.AllStructures.txt
View file @
bc1bdc21
asm-util/src/test/resources/jdk5.AllStructures$EnumClass.txt
View file @
bc1bdc21
asm-util/src/test/resources/jdk5.AllStructures$InvisibleAnnotation.txt
View file @
bc1bdc21
asm-util/src/test/resources/jdk5.AllStructures.txt
View file @
bc1bdc21
asm-util/src/test/resources/jdk8.AllStructures$1.txt
View file @
bc1bdc21
asm-util/src/test/resources/jdk8.AllStructures.txt
View file @
bc1bdc21
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