結果 : java why not use optional as parameter