switch paragraph order in java api doc