[Biojava-dev] Bug in RemoteQBlastAlignmentProperties
Yevgeniy Gindin
gindin at gmail.com
Sun Sep 26 23:05:50 UTC 2010
There seems to be a bug in
org.biojavax.bio.alignment.blast.RemoteQBlastAlignmentProperties.setBlastProgram(String)
The method throws an exception when a valid program name is given. I
believe that this is due to the fact that two String objects are
tested with the "==" operator rather then equals().
To illustrate:
String a = new String ("a");
String b = new String ("a");
System.out.println (a == b);
The above will return false.
--
Yevgeniy
More information about the biojava-dev
mailing list