Java classes modifications realated to SMS