Update connector.java

A branch