AbstractFilePatchInProgress () { AbstractFilePatchInProgress best = null; int bestStrip = Integer.MAX_VALUE; for (AbstractFilePatchInProgress current : myVariants) { int currentStrip = current.getCurrentStrip(); if (best == null || currentStrip < bestStrip) { best = current; bestStrip = currentStrip; } } return best; }