Refined Adb.java

Refined some code in Adb.java