[java] - commented no longer used functions out