Update RestAdapter.java

trim off any query string to keep the length of the Thread name reasonable