[SPARK-3781] code Style format

    val i: AtomicLong = new AtomicLong(0)
    i.incrementAndGet()

    Code:
       0: new           #16                 // class java/util/concurrent/atomic/AtomicLong
       3: dup
       4: lconst_0
       5: invokespecial #19                 // Method java/util/concurrent/atomic/AtomicLong."<init>":(J)V
       8: astore_2
       9: aload_2
      10: invokevirtual #23                 // Method java/util/concurrent/atomic/AtomicLong.incrementAndGet:()J
      13: pop2
      14: return




    val i: AtomicLong = new AtomicLong(0)
    i.incrementAndGet

    Code:
       0: new           #16                 // class java/util/concurrent/atomic/AtomicLong
       3: dup
       4: lconst_0
       5: invokespecial #19                 // Method java/util/concurrent/atomic/AtomicLong."<init>":(J)V
       8: astore_2
       9: aload_2
      10: invokevirtual #23                 // Method java/util/concurrent/atomic/AtomicLong.incrementAndGet:()J
      13: pop2
      14: return


they are same byte code.
scala recommend having no () if having no param