Revert "Update Solution.java"

This reverts commit 145e06af6c35403b343fa13cd89436b1e09d05bb.