Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
AloqaIM-Android
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
AloqaIM-Android
Commits
d0e6bc2f
Commit
d0e6bc2f
authored
Feb 13, 2017
by
Tiago Cunha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PMD rules changes and fixes
parent
000ef08f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
8 deletions
+9
-8
ModelListAdapter.java
...ocket/android/layouthelper/chatroom/ModelListAdapter.java
+1
-0
pmd-ruleset.xml
config/quality/pmd/pmd-ruleset.xml
+8
-8
No files found.
app/src/main/java/chat/rocket/android/layouthelper/chatroom/ModelListAdapter.java
View file @
d0e6bc2f
...
@@ -11,6 +11,7 @@ import android.view.ViewGroup;
...
@@ -11,6 +11,7 @@ import android.view.ViewGroup;
import
java.util.List
;
import
java.util.List
;
@SuppressWarnings
(
"PMD.GenericsNaming"
)
public
abstract
class
ModelListAdapter
<
T
,
VM
,
VH
extends
ModelViewHolder
<
VM
>>
public
abstract
class
ModelListAdapter
<
T
,
VM
,
VH
extends
ModelViewHolder
<
VM
>>
extends
RecyclerView
.
Adapter
<
VH
>
{
extends
RecyclerView
.
Adapter
<
VH
>
{
...
...
config/quality/pmd/pmd-ruleset.xml
View file @
d0e6bc2f
...
@@ -9,20 +9,20 @@
...
@@ -9,20 +9,20 @@
<exclude-pattern>
.*/R.java
</exclude-pattern>
<exclude-pattern>
.*/R.java
</exclude-pattern>
<exclude-pattern>
.*/gen/.*
</exclude-pattern>
<exclude-pattern>
.*/gen/.*
</exclude-pattern>
<rule
ref=
"rulesets/java/android.xml"
/>
<rule
ref=
"rulesets/java/android.xml"
/>
<rule
ref=
"rulesets/java/clone.xml"
/>
<rule
ref=
"rulesets/java/clone.xml"
/>
<rule
ref=
"rulesets/java/finalizers.xml"
/>
<rule
ref=
"rulesets/java/finalizers.xml"
/>
<rule
ref=
"rulesets/java/imports.xml"
>
<rule
ref=
"rulesets/java/imports.xml"
>
<!-- Espresso is designed this way !-->
<!-- Espresso is designed this way !-->
<exclude
name=
"TooManyStaticImports"
/>
<exclude
name=
"TooManyStaticImports"
/>
</rule>
</rule>
<rule
ref=
"rulesets/java/basic.xml"
/>
<rule
ref=
"rulesets/java/basic.xml"
/>
<rule
ref=
"rulesets/java/naming.xml"
>
<rule
ref=
"rulesets/java/naming.xml"
>
<
!--<exclude name="AbstractNaming" />--
>
<
exclude
name=
"AbstractNaming"
/
>
<exclude
name=
"LongVariable"
/>
<exclude
name=
"LongVariable"
/>
<!--exclude name="ShortMethodName" /-->
<!--exclude name="ShortMethodName" /-->
<!--exclude name="ShortVariable" /-->
<!--exclude name="ShortVariable" /-->
<
!--<exclude name="ShortClassName" />--
>
<
exclude
name=
"ShortClassName"
/
>
<!--<exclude name="VariableNamingConventions" />-->
<!--<exclude name="VariableNamingConventions" />-->
</rule>
</rule>
</ruleset>
</ruleset>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment