Skip to content
This repository has been archived by the owner on Jan 12, 2021. It is now read-only.

PMD issues for class org.finra.jtaf.ewd.widget.element.html.Select #130

Open
mmlinford opened this issue May 2, 2016 · 0 comments
Open

Comments

@mmlinford
Copy link
Collaborator

The following issues were found in org.finra.jtaf.ewd.widget.element.html.Select when running PMD:

[INFO] PMD Failure: org.finra.jtaf.ewd.widget.element.html.Select:61 Rule:AvoidCatchingGenericException Priority:3 Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block.
[INFO] PMD Failure: org.finra.jtaf.ewd.widget.element.html.Select:88 Rule:AvoidCatchingGenericException Priority:3 Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block.
[INFO] PMD Failure: org.finra.jtaf.ewd.widget.element.html.Select:105 Rule:AvoidCatchingGenericException Priority:3 Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block.
[INFO] PMD Failure: org.finra.jtaf.ewd.widget.element.html.Select:110 Rule:UseCollectionIsEmpty Priority:3 Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty().
[INFO] PMD Failure: org.finra.jtaf.ewd.widget.element.html.Select:127 Rule:ConfusingTernary Priority:3 Avoid if (x != y) ..; else ..;.
[INFO] PMD Failure: org.finra.jtaf.ewd.widget.element.html.Select:156 Rule:AvoidCatchingGenericException Priority:3 Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block.
[INFO] PMD Failure: org.finra.jtaf.ewd.widget.element.html.Select:171 Rule:ConfusingTernary Priority:3 Avoid if (x != y) ..; else ..;.
[INFO] PMD Failure: org.finra.jtaf.ewd.widget.element.html.Select:182 Rule:AvoidCatchingGenericException Priority:3 Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block.
[INFO] PMD Failure: org.finra.jtaf.ewd.widget.element.html.Select:198 Rule:AvoidCatchingGenericException Priority:3 Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block.
[INFO] PMD Failure: org.finra.jtaf.ewd.widget.element.html.Select:232 Rule:MethodNamingConventions Priority:1 Method names should not contain underscores.
[INFO] PMD Failure: org.finra.jtaf.ewd.widget.element.html.Select:237 Rule:LongVariable Priority:3 Avoid excessively long variable names like selectedItemsTextValues.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant