Malfunction currentMalfunction = (Malfunction) (myMalfunctions
Malfunction currentMalfunction = (myMalfunctions
    public void doSomeRepairWork(long malfunctionID) {        Malfunction currentMalfunction = (Malfunction) (myMalfunctions                .get(new Long(malfunctionID)));        if (currentMalfunction == null)            return;        currentMalfunction.doSomeRepairWork();        if (currentMalfunction.doneEnoughRepairWork())            fixMalfunction(currentMalfunction.getID());    }