Following java code conventionns

Signed-off-by: Shivendra Panicker <shivendranitb@gmail.com>