Dead code removed as this cannot be null in Java.