Commit Graph

67 Commits (imu2008-patch-1)

Author SHA1 Message Date
玄坛 b7578c1499
Update README.md
更新 README 中 p3c-pmd 的版本信息
3 years ago
SeanCai 90c37cee86
Merge pull request #706 from jwenjian/master
Update message template in messages_en.xml
4 years ago
玄坛 d10884c15f
Merge pull request #724 from Anteoy/master
fix: rule of BigDecimalAvoidDoubleConstructorRule description wrong key
4 years ago
玄坛 764489189c
Merge pull request #795 from lianggzone/feature/class_must_have_author_rule
修复 ClassMustHaveAuthorRule Javadoc Warnings
4 years ago
liangguizhao 0fe9d1ca97 feat:修复 ClassMustHaveAuthorRule Javadoc Warnings 4 years ago
liangguizhao 19d0b99bc1 feat : 修复 java.naming.ClassNamingShouldBeCamelRule.rule.msg 中英文本不一致问题。 4 years ago
caikang.ck a471c5f60b fix https://github.com/alibaba/p3c/issues/763 4 years ago
caikang.ck 0250c77e94 1. idea plugin 2.1.0
2. gradle upgrade to 6.6
5 years ago
caikang.ck 68924e3600 p3c-pmd 2.1.0 5 years ago
anteoy 4f453dbd9c fix: rule of BigDecimalAvoidDoubleConstructorRule description error key 5 years ago
Jiang Wenjian 7dfc482d0c
Update messages_en.xml
format message template
5 years ago
Jiang Wenjian 5a05419193
Update message template in messages_en.xml
1. make method name and parameter name set in correct order
2. make method name and exception name set in correct order
5 years ago
caikang.ck f6ea93d1b6 fix compatibility issue with new idea version 5 years ago
caikang.ck 9108bb1fe9 comment gpg plugin 5 years ago
caikang.ck a7ea4bf5c8 verify use p3c-pmd 2.0.1 5 years ago
caikang.ck 2ac5d2c2df 1. add rule LockShouldWithTryFinallyRule
2. fix some issue
5 years ago
lqzyc d7120ded36
Merge branch 'master' into fix 5 years ago
曾候 670c4f4ac0 fix https://github.com/alibaba/p3c/issues/209 5 years ago
昶乐 c71f8f3232 同步改动 5 years ago
caikang.ck fdfc82f1dc v2.0.0
1. pmd -> 6.15.0
2. idea min version 2016.1
3. jdk min version 1.8
6 years ago
玄坛 1b5763a3e8
Merge pull request #479 from kerie/readme-rules
update new rules in readme
6 years ago
Bo Zhang 1dc88f5b49 Handle [string literal].equals() correctly in EqualsAvoidNullRule
This fixes https://github.com/alibaba/p3c/issues/471

Previously, the following code can't pass EqualsAvoidNullRule:

public class Test {
  private static final String VERSION = System.getProperty("v");
  public boolean isJava6(){
    return "1.6".equals(VERSION);
  }
}

This PR fixes this issue by checking if the caller is a literal.
6 years ago
可期 507ecbf8b4 update new rules in readme 6 years ago
玄坛 b878e0d9f8
Update README.md
Update the number of rules for p3c.
6 years ago
玄坛 465aa6d5b6
Merge pull request #474 from slievrly/patch-1
Update README.md
6 years ago
玄坛 d36dc488f0
Merge pull request #459 from rhinoceros/master
LowerCamelCaseVariableNamingRule 和 StringConcatRule
6 years ago
jimin 41f68e3203
Update README.md 6 years ago
玄坛 7de6b48564
Merge pull request #462 from hanyidreamer/19.03.02
Fixed #448
6 years ago
hanyidreamer c95f3f2dd6 Fixed #448 6 years ago
wangxn 3c199f2ab9 LowerCamelCaseVariableNamingRule: 删除重复的LowerCamelCaseVariableNamingRuleTest8;
StringConcatRule: line130 注释掉  ======================================================================
6 years ago
yuzy c1ae1511b1 修复在en模式下,AbstractMethodOrInterfaceMethodMustUseJavadocRule的2处报错消息中,method名称与param名称颠倒的问题、以及method名称与exception名称颠倒的问题。Fixes #440 6 years ago
骏烈 e32666c3c1 p3c-pmd version 1.3.6
eclipse-plugin 1.0.6
idea-plugin 1.0.6
6 years ago
昶乐 4d8a8a0919 注解不进行小写驼峰命名校验 6 years ago
可期 cd18d69c7f 性能优化,自定义类型解析对于每个java文件只处理一次 6 years ago
wilsonjuxta 15e43a7717 fix typo in example code 7 years ago
骏烈 b948c7e62b add rules
[Recommended] The total number of lines for a method should not be more than 80
 [Recommended] Avoid using the negation operator '!'
 [Mandatory] When doing date formatting, "y" should be written in lowercase for "year" in a pattern statement

 and some bug fix
7 years ago
骏烈 1cc0a0c2a0 Merge remote-tracking branch 'upstream/master' 7 years ago
fw8899 4da2bb19f8 fix: #312 7 years ago
骏烈 80d4708ab9 fix https://github.com/alibaba/p3c/issues/264 7 years ago
Feng Wei 2d699c9ad7
Merge pull request #283 from fw8899/master
bugfix: default中包含return, throw时漏报
7 years ago
曾候 42ce06fd3c bugfix: default中包含return, throw时漏报 7 years ago
骏烈 452ab8e740 1. kotlin 1.2.21
2. p3c-pmd 1.3.4
3. idea-plugin 1.0.4
4. eclipse-plugin 1.0.4
7 years ago
SeanCai a79cb7eccc
Merge pull request #252 from LQZYC/master
修改提示信息
7 years ago
昶乐 a759051d76 修改提示信息 7 years ago
曾候 10f3848688 fix https://github.com/alibaba/p3c/issues/222 7 years ago
骏烈 0d2dc57909 fix https://github.com/alibaba/p3c/issues/217 7 years ago
骏烈 7acf70558c p3c-pmd version 1.3.3 7 years ago
骏烈 8215bc045e fix https://github.com/alibaba/p3c/issues/191 7 years ago
骏烈 c868d5bb47 p3c-pmd 1.3.2
idea-plugin 1.0.2
upgrade kotlin version to 1.2.0
7 years ago
骏烈 5481dc3953 Merge remote-tracking branch 'upstream/master' 7 years ago