Update adapter2.java

commit 10