Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
wangsun300
p3c
提交
04979611
P
p3c
项目概览
wangsun300
/
p3c
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
p3c
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
04979611
编写于
12月 12, 2017
作者:
imu2008
提交者:
GitHub
12月 12, 2017
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #201 from SeanCai/master
some bug fix
上级
5f89478a
914bbb10
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
15 addition
and
156 deletion
+15
-156
eclipse-plugin/com.alibaba.smartfox.eclipse.plugin/src/main/resources/rulesets/java/ali-ruleOnEclipse.xml
...in/src/main/resources/rulesets/java/ali-ruleOnEclipse.xml
+1
-1
eclipse-plugin/pom.xml
eclipse-plugin/pom.xml
+13
-153
p3c-pmd/src/main/java/com/alibaba/p3c/pmd/lang/java/util/namelist/NameListServiceImpl.java
.../p3c/pmd/lang/java/util/namelist/NameListServiceImpl.java
+0
-1
p3c-pmd/src/main/resources/rulesets/java/ali-concurrent.xml
p3c-pmd/src/main/resources/rulesets/java/ali-concurrent.xml
+1
-1
未找到文件。
eclipse-plugin/com.alibaba.smartfox.eclipse.plugin/src/main/resources/rulesets/java/ali-ruleOnEclipse.xml
浏览文件 @
04979611
...
...
@@ -37,6 +37,6 @@
<rule
name=
"MapOrSetKeyShouldOverrideHashCodeEqualsRule"
message=
"rule.standalone.MapOrSetKeyShouldOverrideHashCodeEqualsRule.msg"
class=
"com.alibaba.smartfox.eclipse.pmd.rule.MapOrSetKeyShouldOverrideHashCodeEqualsRule"
>
<description>
rule.standalone.MapOrSetKeyShouldOverrideHashCodeEqualsRule.desc
</description>
<priority>
1
</priority>
<priority>
2
</priority>
</rule>
</ruleset>
eclipse-plugin/pom.xml
浏览文件 @
04979611
...
...
@@ -40,18 +40,24 @@
</dependency>
</dependencies>
</dependencyManagement>
<
!--<
repositories>
<repositories>
<repository>
<id>neon</id>
<url>${eclipse-repo.url}</url>
<id>
juno
</id>
<layout>
p2
</layout>
<url>
http://mirrors.ustc.edu.cn/eclipse/releases/juno/
</url>
</repository>
<repository>
<id>ajdt</id>
<url>${ajdt-eclipse-repo.url}</url>
<layout>p2</layout>
<id>
sonatype-nexus-snapshots
</id>
<name>
Sonatype Nexus Snapshots
</name>
<url>
https://oss.sonatype.org/content/repositories/snapshots
</url>
<releases>
<enabled>
false
</enabled>
</releases>
<snapshots>
<enabled>
true
</enabled>
</snapshots>
</repository>
</repositories>
-->
</repositories>
<build>
<plugins>
<plugin>
...
...
@@ -189,150 +195,4 @@
</plugins>
</pluginManagement>
</build>
<profiles>
<profile>
<id>
macosx-jvm-flags
</id>
<activation>
<os>
<family>
mac
</family>
</os>
</activation>
<properties>
<!-- tycho-surefire-plugin needs -XstartOnFirstThread on mac os -->
<os-jvm-flags>
-XstartOnFirstThread
</os-jvm-flags>
</properties>
</profile>
<!-- <profile>
<id>eclipse-indigo</id>
<activation>
<property>
<name>!eclipse-release</name>
</property>
</activation>
<repositories>
<repository>
<id>indigo</id>
<layout>p2</layout>
<url>http://download.eclipse.org/releases/indigo/</url>
</repository>
<repository>
<id>swtbot</id>
<layout>p2</layout>
<url>http://download.eclipse.org/technology/swtbot/releases/2.2.1/</url>
</repository>
</repositories>
</profile>
-->
<profile>
<id>
eclipse-juno
</id>
<activation>
<property>
<name>
!eclipse-release
</name>
</property>
</activation>
<repositories>
<repository>
<id>
juno
</id>
<layout>
p2
</layout>
<url>
http://mirrors.ustc.edu.cn/eclipse/releases/juno/
</url>
</repository>
<repository>
<id>
swtbot
</id>
<layout>
p2
</layout>
<url>
http://mirrors.ustc.edu.cn/eclipse/technology/swtbot/releases/2.5.0/
</url>
</repository>
</repositories>
</profile>
<profile>
<id>
eclipse-kepler
</id>
<activation>
<property>
<name>
eclipse-release
</name>
<value>
kepler
</value>
</property>
</activation>
<repositories>
<repository>
<id>
kepler
</id>
<layout>
p2
</layout>
<url>
http://download.eclipse.org/releases/kepler/
</url>
</repository>
<repository>
<id>
swtbot
</id>
<layout>
p2
</layout>
<url>
http://download.eclipse.org/technology/swtbot/releases/2.3.0/
</url>
</repository>
</repositories>
</profile>
<profile>
<id>
eclipse-luna
</id>
<activation>
<property>
<name>
eclipse-release
</name>
<value>
luna
</value>
</property>
</activation>
<repositories>
<repository>
<id>
luna
</id>
<layout>
p2
</layout>
<url>
http://download.eclipse.org/releases/luna/
</url>
</repository>
<repository>
<id>
swtbot
</id>
<layout>
p2
</layout>
<url>
http://download.eclipse.org/technology/swtbot/releases/2.3.0/
</url>
</repository>
</repositories>
</profile>
<profile>
<id>
eclipse-mars
</id>
<activation>
<property>
<name>
eclipse-release
</name>
<value>
mars
</value>
</property>
</activation>
<repositories>
<repository>
<id>
mars
</id>
<layout>
p2
</layout>
<url>
http://download.eclipse.org/releases/mars/
</url>
</repository>
<repository>
<id>
swtbot
</id>
<layout>
p2
</layout>
<url>
http://download.eclipse.org/technology/swtbot/releases/2.3.0/
</url>
</repository>
</repositories>
</profile>
<profile>
<id>
eclipse-neon
</id>
<activation>
<property>
<name>
eclipse-release
</name>
<value>
neon
</value>
</property>
</activation>
<repositories>
<repository>
<id>
neon
</id>
<layout>
p2
</layout>
<url>
http://download.eclipse.org/releases/neon/
</url>
</repository>
<repository>
<id>
swtbot
</id>
<layout>
p2
</layout>
<url>
http://download.eclipse.org/technology/swtbot/releases/2.3.0/
</url>
</repository>
</repositories>
</profile>
</profiles>
</project>
p3c-pmd/src/main/java/com/alibaba/p3c/pmd/lang/java/util/namelist/NameListServiceImpl.java
浏览文件 @
04979611
...
...
@@ -21,7 +21,6 @@ import java.util.List;
import
java.util.Map
;
import
java.util.Properties
;
import
com.google.gson.Gson
;
import
com.google.gson.reflect.TypeToken
;
...
...
p3c-pmd/src/main/resources/rulesets/java/ali-concurrent.xml
浏览文件 @
04979611
...
...
@@ -76,7 +76,7 @@ Positive example 3:
<rule
name=
"AvoidManuallyCreateThreadRule"
language=
"java"
since=
"1.6"
message=
"java.concurrent.Avoid
ConcurrentCompetitionRandom
Rule.rule.msg"
message=
"java.concurrent.Avoid
ManuallyCreateThread
Rule.rule.msg"
dfa=
"true"
class=
"com.alibaba.p3c.pmd.lang.java.rule.concurrent.AvoidManuallyCreateThreadRule"
>
<description>
java.concurrent.AvoidManuallyCreateThreadRule.rule.desc
</description>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录