Update AdapterImpl.java