All Downloads are FREE. Search and download functionalities are using the official Maven repository.

src.samples.java.ex.SJVU_Sample Maven / Gradle / Ivy

Go to download

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.

The newest version!
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;
            }
        };
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy