change case type coding style

Signed-off-by: Fuang.Cao <cavan.cfa@gmail.com>