reduces overly strong type cast

This commit is contained in:
thatsIch
2015-05-09 00:00:52 +02:00
parent b8f22202d4
commit 7c9b734948
18 changed files with 48 additions and 39 deletions
+1 -1
View File
@@ -200,7 +200,7 @@ public class ItemRepo
{
for( Object lp : Platform.getTooltip( is ) )
{
if( lp instanceof String && m.matcher( (String) lp ).find() )
if( lp instanceof String && m.matcher( (CharSequence) lp ).find() )
{
this.view.add( is );
notDone = false;