Update transfer.java

updated