private void processIncomingDeviceData(int length) throws IOException {
  Map<String,DeviceState> result;
  if (length <= 0) {
    result=Collections.emptyMap();
  }
 else {
    String response=read(mAdbConnection,new byte[length]);
    result=parseDeviceListResponse(response);
  }
  mListener.deviceListUpdate(result);
}

private void processIncomingDeviceData ( int length ) throws IOException { Map < String , DeviceState > result ; if ( length <= 0 ) { result = Collections . emptyMap ( ) ; } else { String response = read ( mAdbConnection , new byte [ length ] ) ; result = parseDeviceListResponse ( response ) ; } mListener . deviceListUpdate ( result ) ; }
processes an incoming device message from the socket
