src.samples.java.ex.IPU_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 java.util.Properties;
public class IPU_Sample {
public void testIPUSimple() {
Properties p = new Properties();
p.put("Key", new Integer(0));
}
public void testIPUUseSetProperty(Object o) {
Properties p = new Properties();
p.put("Key", o);
}
public void testIPUUseMinorSetProperty() {
Properties p = new Properties();
p.put("Key", "Hello");
}
}