Resolve ambiguous type

Eclipse 3.8 indicates error due to ambiguous type. This patch resolves it.