myLogger.debug("SimpleBuffer: level = " + level + ", capacity =" + capacity + " percentage = " + percentage);
    public void setCapacity(float newCapacity) {        if (newCapacity <= 0) {            myLogger.debug("told to change capacity to <= 0");            setCapacity(Float.MIN_VALUE);        }        float percentage = level / capacity;        myLogger.debug("SimpleBuffer: level = " + level + ", capacity ="                + capacity + " percentage = " + percentage);        capacity = newCapacity;        level = percentage * newCapacity;        myLogger.debug(", newCapacity = " + newCapacity + ", newLevel = "                + level);    }