Added properties checking to Adaptor base class. 
Reformatted to adhere to official NLeSC java codestyle.