prefer isEmpty over length() == 0
This commit is contained in:
@@ -82,7 +82,7 @@ public class ApiPart implements IPartHelper
|
||||
|
||||
public Class getCombinedInstance( String base )
|
||||
{
|
||||
if( this.desc.size() == 0 )
|
||||
if( this.desc.isEmpty() )
|
||||
{
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user