[Nestor] fix autoboxing and redundant semicolon warnings