ponder-lab / Constants-to-Enum-Eclipse-Plugin

A research prototype Eclipse plugin that refactors Java legacy code to make use of the new enum program construct that was introduced in Java 5.
Eclipse Public License 1.0
3 stars 2 forks source link

Enum conversion fails when there are two different types of permative final vairable #35

Open mdarefin opened 9 years ago

mdarefin commented 9 years ago

If a class has public static final int and public static final double, during the enum conversion an unexpected exception occurred while creating a change objects.

khatchad commented 9 years ago

Can you attach a test case?

mdarefin commented 9 years ago

Sure, will do so.

khatchad commented 9 years ago

Thanks.

khatchad commented 9 years ago

Posted repro case here.