java checkStyle ‘cast‘ is not followed by whitespace.

 项目工程中有开启代码检查,编译报 'cast' is not followed by whitespace.

ItemInfoTO xretailItemInfo = (ItemInfoTO)result.getData();

 原因是类型转换后需要空格。

ItemInfoTO xretailItemInfo = (ItemInfoTO) result.getData();

 

你可能感兴趣的:(Error,java,后端,gradle)