Minor formatting fixes
This commit is contained in:
parent
0851e39197
commit
84d0ea73fa
@ -74,7 +74,7 @@ public class BaseComponentSerializer
|
|||||||
{
|
{
|
||||||
list = new Content[]
|
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 ) ) );
|
hoverEvent = new HoverEvent( action, new ArrayList<>( Arrays.asList( list ) ) );
|
||||||
|
@ -853,8 +853,8 @@ public class ComponentsTest
|
|||||||
assertTrue( style.isEmpty() );
|
assertTrue( style.isEmpty() );
|
||||||
|
|
||||||
style = ComponentStyle.builder()
|
style = ComponentStyle.builder()
|
||||||
.bold( true )
|
.bold( true )
|
||||||
.build();
|
.build();
|
||||||
assertFalse( style.isEmpty() );
|
assertFalse( style.isEmpty() );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user