Commit Graph

55 Commits (5fb5777aed30728e7cd0e9811ae61c9c5032c30f)

Author SHA1 Message Date
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
胜燕 fe0a754187 由于魔法值image可能存在括号斜杠等字符,不输出在提示中 7 years ago
骏烈 84e5982e30 transactional check pattern for rollbackFor or rollbakOn 7 years ago
SeanCai 17c813bc6c
Merge pull request #167 from LQZYC/master
移除对fastjson的依赖
7 years ago
昶乐 1ef434c183 移除对fastjson的依赖 7 years ago
骏烈 d0018b509f p3c-pmd version 1.3.1 7 years ago
昶乐 8a2cd82a73 fix issue #68 7 years ago
可期 6fada8e380 清理不再使用的代码段——跳过带<pre>标签的注释, fixes #150 7 years ago
可期 fd58312db2 1.author标签不区分大小写,2.在有注解的情况下正确关联注释与节点 7 years ago
骏烈 139fe4c846 code format
https://github.com/alibaba/p3c/issues/107
7 years ago
骏烈 59fb91e069 code format
https://github.com/alibaba/p3c/issues/107
7 years ago
骏烈 40eaededd1 code format
https://github.com/alibaba/p3c/issues/107
7 years ago
Ergenekon Yigit c803a8b6ab syntax highlighted of java code blocks 7 years ago