Fix java convention mistakes

I mixed the convention of C + + and Java