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

src.samples.java.ex.ITU_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 java.util.List;

public class ITU_Sample {

    List l;

    public String processList() {
        return l.toString().substring(0, 10);
    }

    public String processList2() {
        String s = l.toString();
        if (s != null) {
            return s.substring(0, 10);
        }
        return null;
    }

    public String ignore() {
        return toString().substring(0, 1);
    }

    @Override
    public String toString() {
        return "1 1";
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy