Skip to content

Commit

Permalink
Suppressed FindBugs warnings
Browse files Browse the repository at this point in the history
TODO : analyze infra stats and finally remove those fields?
  • Loading branch information
batmat committed Jan 30, 2016
1 parent c41c754 commit ab35e69
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -21,6 +21,7 @@
*/
package hudson.plugins.chucknorris;

import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import hudson.model.Action;

/**
Expand Down Expand Up @@ -93,6 +94,8 @@ public String getUrlName() {
* Gets the Chuck Norris style.
* @return the style
*/
// TODO : check infra statistics to see if someone still has chucknorris in 0.2...
@SuppressFBWarnings(value = "UWF_UNWRITTEN_FIELD", justification = "that field could have been deserialized from old <= 0.2")
public Style getStyle() {
Style theStyle;
if (mStyle != null) {
Expand All @@ -107,6 +110,7 @@ public Style getStyle() {
* Gets the Chuck Norris fact.
* @return the fact
*/
@SuppressFBWarnings(value = "UWF_UNWRITTEN_FIELD", justification = "that field could have been deserialized from old <= 0.2")
public String getFact() {
String theFact;
if (mFact != null) {
Expand Down

0 comments on commit ab35e69

Please sign in to comment.