private static final int abs(int x) {
        return (x < 0) ? -x : x;
    }
An abs() function for use by the Paeth predictor.
plugins/svg-plugin/batik-codec-fix/src/main/java/org/apache/batik/ext/awt/image/codec/png/PNGEncodeParam.java