Fixing java doc and removing blank characters