Update Delegate.java

Correction for Bug#940