small fix in sharepointclient so it can compile with java 1.6