You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
---原始邮件---
发件人: "Keke Zhang"<[email protected]>
发送时间: 2019年11月19日(星期二) 下午5:41
收件人: "alibaba/p3c"<[email protected]>;
抄送: "amogege"<[email protected]>;"Author"<[email protected]>;
主题: Re: [alibaba/p3c] mvn pmd:check win10和centos7.5检查结果不一样 (#595)
帮忙验证一下,其他的规则是否有类似的情况,还是只有这一个规则不一样?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
版本 jdk:1.8.0_181、maven:3.3.9、maven-pmd-plugin:3.8、p3c-pmd:1.3.6
win10检查strategy.setTablePrefix("zd_");通过,centos检查它就报“及时清理不再使用的代码段或配置信息。“。
如果改 // 名称前缀为 /// 名称前缀,都能通过。
代码内容如下:
public class CodeGenertor {
public static void main(String[] args) {
// 设置超类
StrategyConfig strategy = new StrategyConfig();
// 名称前缀
// strategy.setTablePrefix("zd_");
strategy.setNaming(NamingStrategy.underline_to_camel);
strategy.setEntityBooleanColumnRemoveIsPrefix(false);
}
}
The text was updated successfully, but these errors were encountered: