ant checkstyle 所遇到的错误解决
? ? ? ??加入了开源大军,提交代码时需要ant checkstyle,这里将ant checkstyle过程中遇到的问题整理下来.方便自己也方便别人.
?
1.First sentence should end with a period ?
? 第一句应该以句号(.)结束,如
public final class ParseSQLUtil{}
4.File contains tab characters (this is the first instance).
? ?解决方法:http://hi.baidu.com/lane727/blog/item/bd6304fb7cb48555242df27f.html
?
5.Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one'.
? 第一行要以* Licensed to the Apache Software Foundation (ASF) under one开头