报告被立即转换为
float
的
double
字面量表达式。
此类字面量表达式可以替换为等效的
float
字面量。
示例:
float f = (float)1.1;
在应用快速修复后:
float f = 1.1f;