Revert "Update src/API.java"

This reverts commit 565513563fa8c92cc3d0ab5ffc89c1acdeeab0a7.