Replaces String == comparison with .equals()

This commit is contained in:
thatsIch
2014-09-29 09:28:58 +02:00
parent 72106c877d
commit 1d1ea7a03e
4 changed files with 4 additions and 4 deletions
@@ -39,7 +39,7 @@ public class FMP implements IIntegrationModule, IPartFactory, IPartConverter, IF
{
for (PartRegistry pr : PartRegistry.values())
{
if ( pr.getName() == name )
if ( pr.getName().equals( name ) )
return pr.construct( 0 );
}