Minor formatting fixes

This commit is contained in:
md_5 2024-03-31 10:09:20 +11:00
parent 0851e39197
commit 84d0ea73fa
No known key found for this signature in database
GPG Key ID: E8E901AC7C617C11
2 changed files with 3 additions and 3 deletions

View File

@ -74,7 +74,7 @@ public class BaseComponentSerializer
{
list = new Content[]
{
context.deserialize( contents, HoverEvent.getClass( action, false ) )
context.deserialize( contents, HoverEvent.getClass( action, false ) )
};
}
hoverEvent = new HoverEvent( action, new ArrayList<>( Arrays.asList( list ) ) );

View File

@ -853,8 +853,8 @@ public class ComponentsTest
assertTrue( style.isEmpty() );
style = ComponentStyle.builder()
.bold( true )
.build();
.bold( true )
.build();
assertFalse( style.isEmpty() );
}