Update adapter2.java

commit 9