complete java code format