Skip to content

Commit

Permalink
feat(#680): InnerClass -> inner-class
Browse files Browse the repository at this point in the history
  • Loading branch information
volodya-lombrozo committed Aug 26, 2024
1 parent e2f69e3 commit 93e2f5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ public void visitInnerClass(
this.program.top()
.attribute(
new DirectivesAttribute(
"InnerClass",
"inner-class",
new DirectivesNullable("", name),
new DirectivesNullable("", outer),
new DirectivesNullable("", inner),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public void writeTo(final BytecodeClass bytecode) {
String.format("Attribute base is missing in XML node %s", this.node)
)
);
if ("InnerClass".equals(base)) {
if ("inner-class".equals(base)) {
bytecode.withAttribute(
new BytecodeAttribute.InnerClass(
Optional.ofNullable(this.node.children().collect(Collectors.toList()).get(0))
Expand Down

0 comments on commit 93e2f5d

Please sign in to comment.