Update Java client with formatting