Use consistent Java method call style