Skip to content

Commit 517f33b

Browse files
committed
Merge branch 'findbugs' into spotbugs
Conflicts: README.md build.xml pom.xml
2 parents 22860bc + a664c28 commit 517f33b

File tree

6 files changed

+27
-15
lines changed

6 files changed

+27
-15
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ for FindBugs:
1515

1616
GroupId: com.mebigfatguy.fb-contrib
1717
ArtifactId: fb-contrib
18-
Version: 7.4.7
18+
Version: 7.6.0
1919
2020
For SpotBugs
2121

@@ -85,7 +85,7 @@ The group ID for fb-contrib is com.mebigfatguy.fb-contrib, and the artifact ID i
8585
<plugin>
8686
<groupId>com.mebigfatguy.fb-contrib</groupId>
8787
<artifactId>fb-contrib</artifactId>
88-
<version>7.4.7</version>
88+
<version>7.6.0</version>
8989
</plugin>
9090
</plugins>
9191
</configuration>
@@ -112,7 +112,7 @@ The group ID for sb-contrib is com.mebigfatguy.sb-contrib, and the artifact ID i
112112
<plugin>
113113
<groupId>com.mebigfatguy.sb-contrib</groupId>
114114
<artifactId>sb-contrib</artifactId>
115-
<version>7.4.7</version>
115+
<version>7.6.0</version>
116116
</plugin>
117117
</plugins>
118118
</configuration>
@@ -138,7 +138,7 @@ dependencies {
138138
findbugs configurations.findbugsPlugins.dependencies
139139
140140
// To keep everything tidy, we set these apart
141-
findbugsPlugins 'com.mebigfatguy.fb-contrib:fb-contrib:7.4.7'
141+
findbugsPlugins 'com.mebigfatguy.fb-contrib:fb-contrib:7.6.0'
142142
}
143143
144144
task findbugs(type: FindBugs) {

build.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<property name="javac.debug" value="on" />
3232
<property name="test_reports.dir" value="${target.dir}/reports/test"/>
3333

34-
<property name="fb-contrib.version" value="7.4.8-SNAPSHOT" />
34+
<property name="fb-contrib.version" value="7.6.0" />
3535
<property name="sb-contrib.version" value="7.4.8-SNAPSHOT" />
3636

3737
<property name="sonatype.dir" value="${user.home}/.sb-contrib-${sb-contrib.version}-sonatype" />

etc/findbugs.xml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@
2323

2424
<!-- Detectors -->
2525

26-
<!-- COMMENT OUT FOR RELEASE -->
26+
<!-- COMMENT OUT FOR RELEASE
2727
2828
<Detector class="com.mebigfatguy.fbcontrib.debug.OCSDebugger" speed="fast"/>
2929
3030
<Detector class="com.mebigfatguy.fbcontrib.detect.BloatedSynchronizedBlock" speed="fast" reports="BSB_BLOATED_SYNCHRONIZED_BLOCK" hidden="true" />
3131
3232
<Detector class="com.mebigfatguy.fbcontrib.detect.BloatedAssignmentScope" speed="fast" reports="BAS_BLOATED_ASSIGNMENT_SCOPE" hidden="true" />
3333
34-
<!-- COMMENT OUT FOR RELEASE -->
34+
COMMENT OUT FOR RELEASE -->
3535

3636
<Detector class="com.mebigfatguy.fbcontrib.collect.CollectStatistics" speed="fast" reports="" hidden="true" />
3737

@@ -330,15 +330,14 @@
330330

331331
<Detector class="com.mebigfatguy.fbcontrib.detect.SetUsageIssues" speed="fast" reports="SUI_CONTAINS_BEFORE_ADD,SUI_CONTAINS_BEFORE_REMOVE"/>
332332

333-
<Detector class="com.mebigfatguy.fbcontrib.detect.ClassEnvy" speed="slow" reports="CE_CLASS_ENVY" />
334-
335-
<!-- COMMENT OUT FOR POINT RELEASE -->
333+
<Detector class="com.mebigfatguy.fbcontrib.detect.ClassEnvy" speed="slow" reports="CE_CLASS_ENVY" />
336334

337335
<Detector class="com.mebigfatguy.fbcontrib.detect.SuspiciousArgumentTypes" speed="fast" reports="SAT_SUSPICIOUS_ARGUMENT_TYPES" />
338336

339337
<Detector class="com.mebigfatguy.fbcontrib.detect.EnumIssues" speed="fast" reports="ENMI_EQUALS_ON_ENUM,ENMI_NULL_ENUM_VALUE,ENMI_ONE_ENUM_VALUE" />
340338

341339
<Detector class="com.mebigfatguy.fbcontrib.detect.AkkaIssues" speed="fast" reports="AKI_SUPERFLUOUS_ROUTE_SPECIFICATION" />
340+
<!-- COMMENT OUT FOR POINT RELEASE -->
342341
<!-- COMMENT OUT FOR POINT RELEASE -->
343342

344343
<!-- BugPattern -->

htdocs/index.shtml

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ function toggleBlock(divId, imgId)
6868
</li>
6969
</ul>
7070
</p>
71-
<p style="font-weight: bold;">The latest version of fb-contrib is 7.4.7 available for download
71+
<p style="font-weight: bold;">The latest version of fb-contrib is 7.6.0 available for download
7272
<a href="http://search.maven.org/#search%7Cga%7C1%7Ca%3A%22fb-contrib%22">here</a>.</p>
7373
<p style="font-weight: bold;">This version requires SpotBugs 3.1.0 or better</p>
7474
<p style="font-weight: bold;">Please note that active development for this project is now done on
@@ -83,9 +83,22 @@ function toggleBlock(divId, imgId)
8383
</ul>
8484
</div>
8585
<hr/>
86-
<img id="v7_4_0_image" src="flip2.gif" onClick="toggleBlock('v7_4_0', 'v7_4_0_image');" align="top"/>
86+
<img id="v7_6_0_image" src="flip2.gif" onClick="toggleBlock('v7_6_0', 'v7_6_0_image');" align="top"/>
87+
Detectors added in v7.6.0<br/>
88+
<div id="v7_6_0" style="display:block;">
89+
<ul>
90+
<li><b>[SAT] Suspicious Argument Types</b><br/>
91+
Looks for method parameters that seem to be passed incorrectly
92+
</li>
93+
<li><b>[ENMI] Enum Issues</b><br/>
94+
Looks for issues around use Enums
95+
</li>
96+
</ul>
97+
</div>
98+
<hr/>
99+
<img id="v7_4_0_image" src="flip1.gif" onClick="toggleBlock('v7_4_0', 'v7_4_0_image');" align="top"/>
87100
Detectors added in v7.4.0<br/>
88-
<div id="v7_4_0" style="display:block;">
101+
<div id="v7_4_0" style="display:none;">
89102
<ul>
90103
<li><b>[LUI] List Usage Issues</b><br/>
91104
Looks for odd usage patterns when using Lists

htdocs/repository.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ <h1>fb-contrib: Maven Repository</h1>
2222
<table style="margin-left: 40px; background-color: #A0A0FF; padding: 20px; border-width: 1px; border-style: outset; border-color: #000000;">
2323
<tr><td><b>GroupId:</b></td><td>com.mebigfatguy.fb-contrib</td></tr>
2424
<tr><td><b>ArtifactId:</b></td><td>fb-contrib or sb-contrib</td></tr>
25-
<tr><td><b>Version:</b></td><td>7.4.7</td></tr>
25+
<tr><td><b>Version:</b></td><td>7.6.0</td></tr>
2626
</table>
2727
</div>
2828

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<modelVersion>4.0.0</modelVersion>
77
<groupId>com.mebigfatguy.sb-contrib</groupId>
88
<artifactId>sb-contrib</artifactId>
9-
<version>7.4.8-SNAPSHOT</version>
9+
<version>7.6.0</version>
1010

1111
<!-- TODO: Oss parent is obsolete, define items directly for releasing -->
1212
<parent>

0 commit comments

Comments
 (0)