Update of /cvsroot/fb-contrib/fb-contrib/src/com/mebigfatguy/fbcontrib/detect
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25476/src/com/mebigfatguy/fbcontrib/detect
Modified Files:
SyncCollectionIterators.java
Log Message:
obey LSC
Index: SyncCollectionIterators.java
===================================================================
RCS file: /cvsroot/fb-contrib/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/SyncCollectionIterators.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- SyncCollectionIterators.java 1 Oct 2005 07:22:44 -0000 1.3
+++ SyncCollectionIterators.java 1 Oct 2005 07:24:36 -0000 1.4
@@ -80,7 +80,7 @@
public void sawOpcode(final int seen) {
switch (state) {
case SEEN_NOTHING:
- if ((seen == INVOKESTATIC) && getClassConstantOperand().equals("java/util/Collections")) {
+ if ((seen == INVOKESTATIC) && "java/util/Collections".equals(getClassConstantOperand())) {
if (synchCollectionNames.contains(getNameConstantOperand())) {
state = SEEN_SYNC;
}
|