Permalink
Browse files

Small cleanup.

  • Loading branch information...
1 parent 9af011d commit bedf6b8fa2ce2ebb27ef936c9844cbd0e84a99ce @jawi committed Aug 16, 2012
View
3 client.project/src/main/java/nl/lxtreme/ols/client/project/impl/ChannelImpl.java
@@ -120,7 +120,6 @@ public void addAnnotation( final Annotation<?> aAnnotation )
}
else
{
- // TODO ensure it is a channel label annotation?!
setLabel( aAnnotation.toString() );
}
}
@@ -199,7 +198,7 @@ public int getIndex()
@Override
public String getLabel()
{
- if ( ( this.label == null ) || this.label.trim().isEmpty() )
+ if ( ( this.label == null ) || "".equals( this.label.trim() ) )
{
return getDefaultName();
}

0 comments on commit bedf6b8

Please sign in to comment.