fix eclipse warning about missing default case