Removed unused variable
Updated javasdk