File tree Expand file tree Collapse file tree
findbugs/src/java/edu/umd/cs/findbugs/annotations Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88import java .lang .annotation .Retention ;
99import java .lang .annotation .RetentionPolicy ;
1010
11- import edu .umd .cs .findbugs .BugRanker ;
12-
1311/**
1412 * Annotation indicating that a FindBugs warning is desired.
1513 *
2927 public Confidence confidence () default Confidence .LOW ;
3028
3129 /** Desire a warning at least this scary */
32- public int rank () default BugRanker .VISIBLE_RANK_MAX ;
30+ public int rank () default 20 ; // BugRanker.VISIBLE_RANK_MAX
3331
3432 /** Desire at least this many warnings */
3533 public int num () default 1 ;
Original file line number Diff line number Diff line change 88import java .lang .annotation .Retention ;
99import java .lang .annotation .RetentionPolicy ;
1010
11- import edu .umd .cs .findbugs .BugRanker ;
12-
1311/**
1412 * Annotation indicating that a FindBugs warning is expected.
1513 *
2927 public Confidence confidence () default Confidence .LOW ;
3028
3129 /** Expect a warning at least this scary */
32- public int rank () default BugRanker .VISIBLE_RANK_MAX ;
30+ public int rank () default 20 ; // BugRanker.VISIBLE_RANK_MAX
3331
3432 /** Expect at least this many warnings */
3533 public int num () default 1 ;
Original file line number Diff line number Diff line change 88import java .lang .annotation .Retention ;
99import java .lang .annotation .RetentionPolicy ;
1010
11- import edu .umd .cs .findbugs .BugRanker ;
12-
1311/**
1412 * Annotation indicating that <em>no</em> FindBugs warning is expected.
1513 *
2927 public Confidence confidence () default Confidence .LOW ;
3028
3129 /** Want no warning at this rank or scarier */
32- public int rank () default BugRanker .VISIBLE_RANK_MAX ;
30+ public int rank () default 20 ; // BugRanker.VISIBLE_RANK_MAX
3331
3432 /** Tolerate up to this many warnings */
3533 public int num () default 0 ;
Original file line number Diff line number Diff line change 99
1010 <groupId >com.google.code.findbugs</groupId >
1111 <artifactId >annotations</artifactId >
12- <version >3.0.1 </version >
12+ <version >3.0.1u1 </version >
1313 <packaging >jar</packaging >
1414
1515 <url >http://findbugs.sourceforge.net/</url >
113113 <includes >
114114 <include >edu/umd/cs/findbugs/annotations/*.java</include >
115115 </includes >
116- <excludes >
117- <exclude >edu/umd/cs/findbugs/annotations/DesireWarning.java</exclude >
118- <exclude >edu/umd/cs/findbugs/annotations/DesireNoWarning.java</exclude >
119- <exclude >edu/umd/cs/findbugs/annotations/ExpectWarning.java</exclude >
120- <exclude >edu/umd/cs/findbugs/annotations/NoWarning.java</exclude >
121- </excludes >
122116 </configuration >
123117 </plugin >
124118 <plugin >
138132 <include >edu/umd/cs/findbugs/annotations/*.java</include >
139133 <include >edu/umd/cs/findbugs/Priorities.java</include >
140134 </includes >
141- <excludes >
142- <exclude >edu/umd/cs/findbugs/annotations/DesireWarning.java</exclude >
143- <exclude >edu/umd/cs/findbugs/annotations/DesireNoWarning.java</exclude >
144- <exclude >edu/umd/cs/findbugs/annotations/ExpectWarning.java</exclude >
145- <exclude >edu/umd/cs/findbugs/annotations/NoWarning.java</exclude >
146- </excludes >
147135 </configuration >
148136 </plugin >
149137 <plugin >
You can’t perform that action at this time.
0 commit comments