Update BaseHttpAdaptor.java

Removing unwanted code