enum should not be used as an identifier since it is a reserved keyword from source level 1.5 on
【问题描述】在Java代码中将变量名命名为enum,导致Eclipse报错:enum'shouldnotbeusedasanidentifiersinceitisareservedkeywordfromsourcelevel1.5on【解决】在工程属性中,将Compilercompliancelevel降为1.4,并且Usedefaultcompliancesettings