1
0
mirror of https://github.com/twiglet/cs2j.git synced 2025-01-18 13:15:17 +01:00

Add needed cast to ensure type is derived from Enum

This commit is contained in:
Kevin Glynn 2011-05-31 09:16:22 +02:00
parent aa091be77d
commit 338c56e6ae

View File

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<!--
This file is
@ -50,7 +50,7 @@
</Method>
<Method>
<Imports />
<Java>Enum.valueOf(${enumType}, ${value})</Java>
<Java>Enum.valueOf(((Class<? extends Enum>))${enumType}, ${value})</Java>
<Params>
<Param>
<Type>System.Type</Type>