boolean changed = setTargetIndex(proj.getScale());
setTargetIndex(proj.getScale());
    public synchronized void renderDataForProjection(Projection proj,                                                     java.awt.Graphics g) {        if (proj == null) {            Debug.error("ScaleFilterLayer.renderDataForProjection: null projection!");            return;        } else {            boolean changed = setTargetIndex(proj.getScale());            Layer layer = getAppropriateLayer();            layer.renderDataForProjection(proj, g);        }    }