src.samples.java.ex.SJVU_Sample Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fb-contrib Show documentation
Show all versions of fb-contrib Show documentation
An auxiliary findbugs.sourceforge.net plugin for java bug detectors that fall outside the narrow scope of detectors to be packaged with the product itself.
package ex;
import javax.persistence.Cache;
public class SJVU_Sample {
public void test14using15(int i) {
Integer ii = Integer.valueOf(i);
StringBuilder sb = new StringBuilder();
sb.append(ii.intValue());
}
public void fpExternalJavax() {
Cache c = new Cache() {
@Override
public boolean contains(Class arg0, Object arg1) {
return false;
}
@Override
public void evict(Class arg0, Object arg1) {
}
@Override
public void evict(Class arg0) {
}
@Override
public void evictAll() {
}
@Override
public T unwrap(Class arg0) {
return null;
}
};
}
}