This repository has been archived by the owner on Mar 20, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathjsf11-findbugs.html
16391 lines (15243 loc) · 808 KB
/
jsf11-findbugs.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>FindBugs (0.9.4) Analysis for <<unnamed project>></title>
<script type="text/javascript">
function show(foo) {
document.getElementById(foo).style.display="block";
}
function hide(foo) {
document.getElementById(foo).style.display="none";
}
function toggle(foo) {
if( document.getElementById(foo).style.display == "none") {
show(foo);
} else {
if( document.getElementById(foo).style.display == "block") {
hide(foo);
} else {
show(foo);
}
}
}
function showmenu(foo) {
if( document.getElementById(foo).style.display == "none") {
hide("bug-summary");
document.getElementById("bug-summary-tab").className="menu-tab";
hide("analysis-data");
document.getElementById("analysis-data-tab").className="menu-tab";
//hide("list-by-bug-type");
//document.getElementById("list-by-bug-type-tab").className="menu-tab";
hide("list-by-package");
document.getElementById("list-by-package-tab").className="menu-tab";
hide("list-by-category");
document.getElementById("list-by-category-tab").className="menu-tab";
document.getElementById(foo+"-tab").className="menu-tab-selected";
show(foo);
}
// else menu already selected!
}
</script>
<style type="text/css">
html, body {
background-color: #ffffff;
}
a, a:link , a:active, a:visited, a:hover {
text-decoration: none; color: black;
}
div, span {
vertical-align: top;
}
p {
margin: 0px;
}
#header {
width: 100%;
text-align: center;
margin-bottom: 5px;
font-size: 14pt;
color: red;
}
#menu {
margin-bottom: 10px;
}
#menu ul {
margin-left: 0;
padding-left: 0;
display: inline;
}
#menu ul li {
margin-left: 0;
margin-bottom: 0;
padding: 2px 15px 5px;
border: 1px solid #000;
list-style: none;
display: inline;
}
#menu ul li.here {
border-bottom: 1px solid #ffc;
list-style: none;
display: inline;
}
.menu-tab {
background: white;
}
.menu-tab:hover {
background: grey;
}
.menu-tab-selected {
background: #aaaaaa;
}
#analysis-data ul {
margin-left: 15px;
}
#analyzed-files, #used-libraries, #analysis-error {
float: left;
margin: 2px;
border: 1px black solid;
padding: 2px;
}
#analyzed-files {
width: 25%;
}
#used-libraries {
width: 25%;
}
#analysis-error {
width: 40%;
}
div.summary {
width:100%;
text-align:center;
}
.summary table {
border:1px solid black;
}
.summary th {
background: #aaaaaa;
color: white;
}
.summary th, .summary td {
padding: 2px 4px 2px 4px;
}
.summary-name {
background: #eeeeee;
text-align:left;
}
.summary-size {
background: #eeeeee;
text-align:center;
}
.summary-ratio {
background: #eeeeee;
text-align:center;
}
.summary-priority-all {
background: #dddddd;
text-align:center;
}
.summary-priority-1 {
background: red;
text-align:center;
}
.summary-priority-2 {
background: orange;
text-align:center;
}
.summary-priority-3 {
background: green;
text-align:center;
}
.summary-priority-4 {
background: blue;
text-align:center;
}
.outerbox {
border: 1px solid black;
margin: 10px;
}
.outerbox-title {
border-bottom: 1px solid #000000; font-size: 12pt; font-weight: bold;
background: #cccccc; margin: 0; padding: 0 5px 0 5px;
}
.title-help {
font-weight: normal;
}
.innerbox-1, .innerbox-2 {
margin: 0 0 0 10px;
}
.innerbox-1-title, .innerbox-2-title {
border-bottom: 1px solid #000000; border-left: 1px solid #000000;
margin: 0; padding: 0 5px 0 5px;
font-size: 12pt; font-weight: bold; background: #cccccc;
}
.bug-box {
border-bottom: 1px solid #000000; border-left: 1px solid #000000;
}
.bug-priority-1 {
background: red; height: 0.5em; width: 1em;
margin-right: 0.5em;
}
.bug-priority-2 {
background: orange; height: 0.5em; width: 1em;
margin-right: 0.5em;
}
.bug-priority-3 {
background: green; height: 0.5em; width: 1em;
margin-right: 0.5em;
}
.bug-priority-4 {
background: blue; height: 0.5em; width: 1em;
margin-right: 0.5em;
}
.bug-type {
}
.bug-ref {
font-size: 10pt; font-weight: bold; padding: 0 0 0 60px;
}
.bug-descr {
font-weight: normal; background: #eeeee0;
padding: 0 5px 0 5px; border-bottom: 1px dashed black; margin: 0px;
}
.bug-details {
font-weight: normal; background: #eeeee0;
padding: 0 5px 0 5px; margin: 0px;
}
</style>
</head>
<body>
<div id="header">
FindBugs (0.9.4) Analysis for <<unnamed project>></div>
<div id="menu">
<ul>
<li id="bug-summary-tab" class="menu-tab-selected" onclick="showmenu('bug-summary');return false;">
<a href="" onclick="return false;">Bug Summary</a>
</li>
<li id="analysis-data-tab" class="menu-tab" onclick="showmenu('analysis-data');return false;">
<a href="" onclick="return false;">Analysis Informations</a>
</li>
<li id="list-by-category-tab" class="menu-tab" onclick="showmenu('list-by-category');return false;">
<a href="" onclick="return false;">List bugs by bug category</a>
</li>
<li id="list-by-package-tab" class="menu-tab" onclick="showmenu('list-by-package');return false;">
<a href="" onclick="return false;">List bugs by package</a>
</li>
</ul>
</div>
<div class="summary" id="bug-summary">
<h2>FindBugs Analysis generated at: Thu, 26 Jan 2006 13:13:32 -0800</h2>
<table>
<tr>
<th>Package</th>
<th>Code Size</th>
<th>Bugs</th>
<th>Bugs p1</th>
<th>Bugs p2</th>
<th>Bugs p3</th>
<th>Bugs Exp.</th>
<th>Ratio</th>
</tr>
<tr>
<td class="summary-name">
Overall
(29 packages),
(440 classes)
</td>
<td class="summary-size">36876</td>
<td class="summary-priority-all">271</td>
<td class="summary-priority-1">58</td>
<td class="summary-priority-2">213</td>
<td class="summary-priority-3"/>
<td class="summary-priority-4"/>
<td class="summary-ratio"/>
</tr>
<tr>
<td class="summary-name">com.sun.faces</td>
<td class="summary-size">42</td>
<td class="summary-priority-all">3</td>
<td class="summary-priority-1">1</td>
<td class="summary-priority-2">2</td>
<td class="summary-priority-3"/>
<td class="summary-priority-4"/>
<td class="summary-ratio"/>
</tr>
<tr>
<td class="summary-name">com.sun.faces.application</td>
<td class="summary-size">1298</td>
<td class="summary-priority-all">41</td>
<td class="summary-priority-1">4</td>
<td class="summary-priority-2">37</td>
<td class="summary-priority-3"/>
<td class="summary-priority-4"/>
<td class="summary-ratio"/>
</tr>
<tr>
<td class="summary-name">com.sun.faces.config</td>
<td class="summary-size">1057</td>
<td class="summary-priority-all">11</td>
<td class="summary-priority-1">1</td>
<td class="summary-priority-2">10</td>
<td class="summary-priority-3"/>
<td class="summary-priority-4"/>
<td class="summary-ratio"/>
</tr>
<tr>
<td class="summary-name">com.sun.faces.config.rules</td>
<td class="summary-size">1448</td>
<td class="summary-priority-all">16</td>
<td class="summary-priority-1"/>
<td class="summary-priority-2">16</td>
<td class="summary-priority-3"/>
<td class="summary-priority-4"/>
<td class="summary-ratio"/>
</tr>
<tr>
<td class="summary-name">com.sun.faces.context</td>
<td class="summary-size">724</td>
<td class="summary-priority-all">9</td>
<td class="summary-priority-1"/>
<td class="summary-priority-2">9</td>
<td class="summary-priority-3"/>
<td class="summary-priority-4"/>
<td class="summary-ratio"/>
</tr>
<tr>
<td class="summary-name">com.sun.faces.el</td>
<td class="summary-size">730</td>
<td class="summary-priority-all">1</td>
<td class="summary-priority-1"/>
<td class="summary-priority-2">1</td>
<td class="summary-priority-3"/>
<td class="summary-priority-4"/>
<td class="summary-ratio"/>
</tr>
<tr>
<td class="summary-name">com.sun.faces.el.impl</td>
<td class="summary-size">2324</td>
<td class="summary-priority-all">8</td>
<td class="summary-priority-1"/>
<td class="summary-priority-2">8</td>
<td class="summary-priority-3"/>
<td class="summary-priority-4"/>
<td class="summary-ratio"/>
</tr>
<tr>
<td class="summary-name">com.sun.faces.el.impl.parser</td>
<td class="summary-size">2330</td>
<td class="summary-priority-all">52</td>
<td class="summary-priority-1"/>
<td class="summary-priority-2">52</td>
<td class="summary-priority-3"/>
<td class="summary-priority-4"/>
<td class="summary-ratio"/>
</tr>
<tr>
<td class="summary-name">com.sun.faces.lifecycle</td>
<td class="summary-size">418</td>
<td class="summary-priority-all">8</td>
<td class="summary-priority-1">7</td>
<td class="summary-priority-2">1</td>
<td class="summary-priority-3"/>
<td class="summary-priority-4"/>
<td class="summary-ratio"/>
</tr>
<tr>
<td class="summary-name">com.sun.faces.renderkit</td>
<td class="summary-size">223</td>
<td class="summary-priority-all">2</td>
<td class="summary-priority-1">1</td>
<td class="summary-priority-2">1</td>
<td class="summary-priority-3"/>
<td class="summary-priority-4"/>
<td class="summary-ratio"/>
</tr>
<tr>
<td class="summary-name">com.sun.faces.renderkit.html_basic</td>
<td class="summary-size">2491</td>
<td class="summary-priority-all">22</td>
<td class="summary-priority-1">10</td>
<td class="summary-priority-2">12</td>
<td class="summary-priority-3"/>
<td class="summary-priority-4"/>
<td class="summary-ratio"/>
</tr>
<tr>
<td class="summary-name">com.sun.faces.taglib</td>
<td class="summary-size">733</td>
<td class="summary-priority-all">6</td>
<td class="summary-priority-1">2</td>
<td class="summary-priority-2">4</td>
<td class="summary-priority-3"/>
<td class="summary-priority-4"/>
<td class="summary-ratio"/>
</tr>
<tr>
<td class="summary-name">com.sun.faces.taglib.html_basic</td>
<td class="summary-size">6742</td>
<td class="summary-priority-all">45</td>
<td class="summary-priority-1">25</td>
<td class="summary-priority-2">20</td>
<td class="summary-priority-3"/>
<td class="summary-priority-4"/>
<td class="summary-ratio"/>
</tr>
<tr>
<td class="summary-name">com.sun.faces.taglib.jsf_core</td>
<td class="summary-size">954</td>
<td class="summary-priority-all">4</td>
<td class="summary-priority-1">1</td>
<td class="summary-priority-2">3</td>
<td class="summary-priority-3"/>
<td class="summary-priority-4"/>
<td class="summary-ratio"/>
</tr>
<tr>
<td class="summary-name">com.sun.faces.util</td>
<td class="summary-size">1306</td>
<td class="summary-priority-all">7</td>
<td class="summary-priority-1">2</td>
<td class="summary-priority-2">5</td>
<td class="summary-priority-3"/>
<td class="summary-priority-4"/>
<td class="summary-ratio"/>
</tr>
<tr>
<td class="summary-name">javax.faces.application</td>
<td class="summary-size">191</td>
<td class="summary-priority-all">2</td>
<td class="summary-priority-1">1</td>
<td class="summary-priority-2">1</td>
<td class="summary-priority-3"/>
<td class="summary-priority-4"/>
<td class="summary-ratio"/>
</tr>
<tr>
<td class="summary-name">javax.faces.component</td>
<td class="summary-size">3047</td>
<td class="summary-priority-all">17</td>
<td class="summary-priority-1"/>
<td class="summary-priority-2">17</td>
<td class="summary-priority-3"/>
<td class="summary-priority-4"/>
<td class="summary-ratio"/>
</tr>
<tr>
<td class="summary-name">javax.faces.event</td>
<td class="summary-size">131</td>
<td class="summary-priority-all">2</td>
<td class="summary-priority-1"/>
<td class="summary-priority-2">2</td>
<td class="summary-priority-3"/>
<td class="summary-priority-4"/>
<td class="summary-ratio"/>
</tr>
<tr>
<td class="summary-name">javax.faces.model</td>
<td class="summary-size">688</td>
<td class="summary-priority-all">11</td>
<td class="summary-priority-1"/>
<td class="summary-priority-2">11</td>
<td class="summary-priority-3"/>
<td class="summary-priority-4"/>
<td class="summary-ratio"/>
</tr>
<tr>
<td class="summary-name">javax.faces.validator</td>
<td class="summary-size">368</td>
<td class="summary-priority-all">4</td>
<td class="summary-priority-1">3</td>
<td class="summary-priority-2">1</td>
<td class="summary-priority-3"/>
<td class="summary-priority-4"/>
<td class="summary-ratio"/>
</tr>
</table>
</div>
<div id="analysis-data" style="display:none;">
<div id="analyzed-files">
Analyzed Files:
<ul>
<li>/files/jsf/jsf11rolling/jsf-api/build/lib/jsf-api.jar</li>
<li>/files/jsf/jsf11rolling/jsf-ri/build/lib/jsf-impl.jar</li>
</ul>
</div>
<div id="used-libraries">
Used Libraries:
<ul>
<li>/files/SUNWappserver/lib/j2ee.jar</li>
<li>/files/SUNWappserver/lib/appserv-rt.jar</li>
<li>/files/SUNWappserver/lib/appserv-jstl.jar</li>
</ul>
</div>
<div id="analysis-error">
Analysis Errors:
<ul>
<li>None</li>
</ul>
</div>
</div>
<div id="list-by-category" class="data-box" style="display:none;">
<span class="bug-priority-1">
</span> P1
<span class="bug-priority-2">
</span> P2
<span class="bug-priority-3">
</span> P3
<span class="bug-priority-4">
</span> Exp.
<div class="outerbox">
<div class="outerbox-title">
<a href="" onclick="toggle('category-CORRECTNESS');return false;">Correctness
(29:
<span class="title-help">5/24/0/0</span>)
</a>
</div>
<div style="display:none;" id="category-CORRECTNESS">
<div class="innerbox-1">
<div class="innerbox-1-title">
<a href="" onclick="toggle('category-CORRECTNESS-and-code-HE');return false;">HE: Equal objects must have equal hashcodes
(11:
<span class="title-help">3/8/0/0</span>)
</a>
</div>
<div style="display:none;" id="category-CORRECTNESS-and-code-HE">
<div class="innerbox-2">
<div class="innerbox-2-title">
<a href="" onclick="toggle('category-CORRECTNESS-and-code-HE-and-bug-HE_EQUALS_NO_HASHCODE');return false;" title="HE_EQUALS_NO_HASHCODE">Class defines equals() but not hashCode()
(8:
<span class="title-help">0/8/0/0</span>)
</a>
</div>
<div style="display:none;" id="category-CORRECTNESS-and-code-HE-and-bug-HE_EQUALS_NO_HASHCODE">
<div class="bug-box">
<a href="" onclick="toggle('category-CORRECTNESS-and-code-HE-and-bug-HE_EQUALS_NO_HASHCODE-51');return false;">
<span class="bug-priority-2">
</span>
<span class="bug-type">HE: </span>In class com.sun.faces.config.ConfigureListener$ApplicationMap</a>
<div style="display:none;" id="category-CORRECTNESS-and-code-HE-and-bug-HE_EQUALS_NO_HASHCODE-51">
<div class="bug-ref">In class com.sun.faces.config.ConfigureListener$ApplicationMap</div>
<div class="bug-ref">In method com.sun.faces.config.ConfigureListener$ApplicationMap.equals(Object)</div>
<div class="bug-descr">HE: com.sun.faces.config.ConfigureListener$ApplicationMap defines equals but not hashCode</div>
<div class="bug-details">
<p> This class overrides <code>equals(Object)</code>, but does not
override <code>hashCode()</code>. Therefore, the class may violate the
invariant that equal objects must have equal hashcodes.</p>
</div>
</div>
</div>
<div class="bug-box">
<a href="" onclick="toggle('category-CORRECTNESS-and-code-HE-and-bug-HE_EQUALS_NO_HASHCODE-76');return false;">
<span class="bug-priority-2">
</span>
<span class="bug-type">HE: </span>In class com.sun.faces.context.ApplicationMap</a>
<div style="display:none;" id="category-CORRECTNESS-and-code-HE-and-bug-HE_EQUALS_NO_HASHCODE-76">
<div class="bug-ref">In class com.sun.faces.context.ApplicationMap</div>
<div class="bug-ref">In method com.sun.faces.context.ApplicationMap.equals(Object)</div>
<div class="bug-descr">HE: com.sun.faces.context.ApplicationMap defines equals but not hashCode</div>
<div class="bug-details">
<p> This class overrides <code>equals(Object)</code>, but does not
override <code>hashCode()</code>. Therefore, the class may violate the
invariant that equal objects must have equal hashcodes.</p>
</div>
</div>
</div>
<div class="bug-box">
<a href="" onclick="toggle('category-CORRECTNESS-and-code-HE-and-bug-HE_EQUALS_NO_HASHCODE-78');return false;">
<span class="bug-priority-2">
</span>
<span class="bug-type">HE: </span>In class com.sun.faces.context.InitParameterMap</a>
<div style="display:none;" id="category-CORRECTNESS-and-code-HE-and-bug-HE_EQUALS_NO_HASHCODE-78">
<div class="bug-ref">In class com.sun.faces.context.InitParameterMap</div>
<div class="bug-ref">In method com.sun.faces.context.InitParameterMap.equals(Object)</div>
<div class="bug-descr">HE: com.sun.faces.context.InitParameterMap defines equals but not hashCode</div>
<div class="bug-details">
<p> This class overrides <code>equals(Object)</code>, but does not
override <code>hashCode()</code>. Therefore, the class may violate the
invariant that equal objects must have equal hashcodes.</p>
</div>
</div>
</div>
<div class="bug-box">
<a href="" onclick="toggle('category-CORRECTNESS-and-code-HE-and-bug-HE_EQUALS_NO_HASHCODE-79');return false;">
<span class="bug-priority-2">
</span>
<span class="bug-type">HE: </span>In class com.sun.faces.context.RequestCookieMap</a>
<div style="display:none;" id="category-CORRECTNESS-and-code-HE-and-bug-HE_EQUALS_NO_HASHCODE-79">
<div class="bug-ref">In class com.sun.faces.context.RequestCookieMap</div>
<div class="bug-ref">In method com.sun.faces.context.RequestCookieMap.equals(Object)</div>
<div class="bug-descr">HE: com.sun.faces.context.RequestCookieMap defines equals but not hashCode</div>
<div class="bug-details">
<p> This class overrides <code>equals(Object)</code>, but does not
override <code>hashCode()</code>. Therefore, the class may violate the
invariant that equal objects must have equal hashcodes.</p>
</div>
</div>
</div>
<div class="bug-box">
<a href="" onclick="toggle('category-CORRECTNESS-and-code-HE-and-bug-HE_EQUALS_NO_HASHCODE-80');return false;">
<span class="bug-priority-2">
</span>
<span class="bug-type">HE: </span>In class com.sun.faces.context.RequestHeaderMap</a>
<div style="display:none;" id="category-CORRECTNESS-and-code-HE-and-bug-HE_EQUALS_NO_HASHCODE-80">
<div class="bug-ref">In class com.sun.faces.context.RequestHeaderMap</div>
<div class="bug-ref">In method com.sun.faces.context.RequestHeaderMap.equals(Object)</div>
<div class="bug-descr">HE: com.sun.faces.context.RequestHeaderMap defines equals but not hashCode</div>
<div class="bug-details">
<p> This class overrides <code>equals(Object)</code>, but does not
override <code>hashCode()</code>. Therefore, the class may violate the
invariant that equal objects must have equal hashcodes.</p>
</div>
</div>
</div>
<div class="bug-box">
<a href="" onclick="toggle('category-CORRECTNESS-and-code-HE-and-bug-HE_EQUALS_NO_HASHCODE-81');return false;">
<span class="bug-priority-2">
</span>
<span class="bug-type">HE: </span>In class com.sun.faces.context.RequestMap</a>
<div style="display:none;" id="category-CORRECTNESS-and-code-HE-and-bug-HE_EQUALS_NO_HASHCODE-81">
<div class="bug-ref">In class com.sun.faces.context.RequestMap</div>
<div class="bug-ref">In method com.sun.faces.context.RequestMap.equals(Object)</div>
<div class="bug-descr">HE: com.sun.faces.context.RequestMap defines equals but not hashCode</div>
<div class="bug-details">
<p> This class overrides <code>equals(Object)</code>, but does not
override <code>hashCode()</code>. Therefore, the class may violate the
invariant that equal objects must have equal hashcodes.</p>
</div>
</div>
</div>
<div class="bug-box">
<a href="" onclick="toggle('category-CORRECTNESS-and-code-HE-and-bug-HE_EQUALS_NO_HASHCODE-82');return false;">
<span class="bug-priority-2">
</span>
<span class="bug-type">HE: </span>In class com.sun.faces.context.RequestParameterMap</a>
<div style="display:none;" id="category-CORRECTNESS-and-code-HE-and-bug-HE_EQUALS_NO_HASHCODE-82">
<div class="bug-ref">In class com.sun.faces.context.RequestParameterMap</div>
<div class="bug-ref">In method com.sun.faces.context.RequestParameterMap.equals(Object)</div>
<div class="bug-descr">HE: com.sun.faces.context.RequestParameterMap defines equals but not hashCode</div>
<div class="bug-details">
<p> This class overrides <code>equals(Object)</code>, but does not
override <code>hashCode()</code>. Therefore, the class may violate the
invariant that equal objects must have equal hashcodes.</p>
</div>
</div>
</div>
<div class="bug-box">
<a href="" onclick="toggle('category-CORRECTNESS-and-code-HE-and-bug-HE_EQUALS_NO_HASHCODE-83');return false;">
<span class="bug-priority-2">
</span>
<span class="bug-type">HE: </span>In class com.sun.faces.context.SessionMap</a>
<div style="display:none;" id="category-CORRECTNESS-and-code-HE-and-bug-HE_EQUALS_NO_HASHCODE-83">
<div class="bug-ref">In class com.sun.faces.context.SessionMap</div>
<div class="bug-ref">In method com.sun.faces.context.SessionMap.equals(Object)</div>
<div class="bug-descr">HE: com.sun.faces.context.SessionMap defines equals but not hashCode</div>
<div class="bug-details">
<p> This class overrides <code>equals(Object)</code>, but does not
override <code>hashCode()</code>. Therefore, the class may violate the
invariant that equal objects must have equal hashcodes.</p>
</div>
</div>
</div>
</div>
</div>
<div class="innerbox-2">
<div class="innerbox-2-title">
<a href="" onclick="toggle('category-CORRECTNESS-and-code-HE-and-bug-HE_EQUALS_USE_HASHCODE');return false;" title="HE_EQUALS_USE_HASHCODE">Class defines equals() and uses Object.hashCode()
(3:
<span class="title-help">3/0/0/0</span>)
</a>
</div>
<div style="display:none;" id="category-CORRECTNESS-and-code-HE-and-bug-HE_EQUALS_USE_HASHCODE">
<div class="bug-box">
<a href="" onclick="toggle('category-CORRECTNESS-and-code-HE-and-bug-HE_EQUALS_USE_HASHCODE-18');return false;">
<span class="bug-priority-1">
</span>
<span class="bug-type">HE: </span>In class javax.faces.validator.DoubleRangeValidator</a>
<div style="display:none;" id="category-CORRECTNESS-and-code-HE-and-bug-HE_EQUALS_USE_HASHCODE-18">
<div class="bug-ref">In class javax.faces.validator.DoubleRangeValidator</div>
<div class="bug-ref">In method javax.faces.validator.DoubleRangeValidator.equals(Object)</div>
<div class="bug-descr">HE: javax.faces.validator.DoubleRangeValidator defines equals and uses Object.hashCode()</div>
<div class="bug-details">
<p> This class overrides <code>equals(Object)</code>, but does not
override <code>hashCode()</code>, and inherits the implementation of
<code>hashCode()</code> from <code>java.lang.Object</code> (which returns
the identity hash code, an arbitrary value assigned to the object
by the VM). Therefore, the class is very likely to violate the
invariant that equal objects must have equal hashcodes.</p>
<p>If you don't think instances of this class will ever be inserted into a HashMap/HashTable,
the recommended <code>hashCode</code> implementation to use is:</p>
<p><pre>public int hashCode() {
assert false : "hashCode not designed";
return 42; // any arbitrary constant will do
}</pre></p>
</div>
</div>
</div>
<div class="bug-box">
<a href="" onclick="toggle('category-CORRECTNESS-and-code-HE-and-bug-HE_EQUALS_USE_HASHCODE-19');return false;">
<span class="bug-priority-1">
</span>
<span class="bug-type">HE: </span>In class javax.faces.validator.LengthValidator</a>
<div style="display:none;" id="category-CORRECTNESS-and-code-HE-and-bug-HE_EQUALS_USE_HASHCODE-19">
<div class="bug-ref">In class javax.faces.validator.LengthValidator</div>
<div class="bug-ref">In method javax.faces.validator.LengthValidator.equals(Object)</div>
<div class="bug-descr">HE: javax.faces.validator.LengthValidator defines equals and uses Object.hashCode()</div>
<div class="bug-details">
<p> This class overrides <code>equals(Object)</code>, but does not
override <code>hashCode()</code>, and inherits the implementation of
<code>hashCode()</code> from <code>java.lang.Object</code> (which returns
the identity hash code, an arbitrary value assigned to the object
by the VM). Therefore, the class is very likely to violate the
invariant that equal objects must have equal hashcodes.</p>
<p>If you don't think instances of this class will ever be inserted into a HashMap/HashTable,
the recommended <code>hashCode</code> implementation to use is:</p>
<p><pre>public int hashCode() {
assert false : "hashCode not designed";
return 42; // any arbitrary constant will do
}</pre></p>
</div>
</div>
</div>
<div class="bug-box">
<a href="" onclick="toggle('category-CORRECTNESS-and-code-HE-and-bug-HE_EQUALS_USE_HASHCODE-20');return false;">
<span class="bug-priority-1">
</span>
<span class="bug-type">HE: </span>In class javax.faces.validator.LongRangeValidator</a>
<div style="display:none;" id="category-CORRECTNESS-and-code-HE-and-bug-HE_EQUALS_USE_HASHCODE-20">
<div class="bug-ref">In class javax.faces.validator.LongRangeValidator</div>
<div class="bug-ref">In method javax.faces.validator.LongRangeValidator.equals(Object)</div>
<div class="bug-descr">HE: javax.faces.validator.LongRangeValidator defines equals and uses Object.hashCode()</div>
<div class="bug-details">
<p> This class overrides <code>equals(Object)</code>, but does not
override <code>hashCode()</code>, and inherits the implementation of
<code>hashCode()</code> from <code>java.lang.Object</code> (which returns
the identity hash code, an arbitrary value assigned to the object
by the VM). Therefore, the class is very likely to violate the
invariant that equal objects must have equal hashcodes.</p>
<p>If you don't think instances of this class will ever be inserted into a HashMap/HashTable,
the recommended <code>hashCode</code> implementation to use is:</p>
<p><pre>public int hashCode() {
assert false : "hashCode not designed";
return 42; // any arbitrary constant will do
}</pre></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="innerbox-1">
<div class="innerbox-1-title">
<a href="" onclick="toggle('category-CORRECTNESS-and-code-NP');return false;">NP: Null pointer dereference
(4:
<span class="title-help">0/4/0/0</span>)
</a>
</div>
<div style="display:none;" id="category-CORRECTNESS-and-code-NP">
<div class="innerbox-2">
<div class="innerbox-2-title">
<a href="" onclick="toggle('category-CORRECTNESS-and-code-NP-and-bug-NP_NULL_ON_SOME_PATH');return false;" title="NP_NULL_ON_SOME_PATH">Possible null pointer dereference in method
(4:
<span class="title-help">0/4/0/0</span>)
</a>
</div>
<div style="display:none;" id="category-CORRECTNESS-and-code-NP-and-bug-NP_NULL_ON_SOME_PATH">
<div class="bug-box">
<a href="" onclick="toggle('category-CORRECTNESS-and-code-NP-and-bug-NP_NULL_ON_SOME_PATH-77');return false;">
<span class="bug-priority-2">
</span>
<span class="bug-type">NP: </span>In class com.sun.faces.context.ExternalContextImpl</a>
<div style="display:none;" id="category-CORRECTNESS-and-code-NP-and-bug-NP_NULL_ON_SOME_PATH-77">
<div class="bug-ref">In class com.sun.faces.context.ExternalContextImpl</div>
<div class="bug-ref">In method com.sun.faces.context.ExternalContextImpl.dispatch(String)</div>
<div class="bug-ref">At ExternalContextImpl.java:[line 330]</div>
<div class="bug-descr">NP: Possible null pointer dereference in com.sun.faces.context.ExternalContextImpl.dispatch(String)</div>
<div class="bug-details">
<p> A reference value dereferenced here might be null at runtime.
This may lead to a <code>NullPointerException</code> when the code is executed.</p>
</div>
</div>
</div>
<div class="bug-box">
<a href="" onclick="toggle('category-CORRECTNESS-and-code-NP-and-bug-NP_NULL_ON_SOME_PATH-89');return false;">
<span class="bug-priority-2">
</span>
<span class="bug-type">NP: </span>In class com.sun.faces.el.impl.FunctionInvocation</a>
<div style="display:none;" id="category-CORRECTNESS-and-code-NP-and-bug-NP_NULL_ON_SOME_PATH-89">
<div class="bug-ref">In class com.sun.faces.el.impl.FunctionInvocation</div>
<div class="bug-ref">In method com.sun.faces.el.impl.FunctionInvocation.evaluate(ExpressionInfo)</div>
<div class="bug-ref">At FunctionInvocation.java:[line 185]</div>
<div class="bug-descr">NP: Possible null pointer dereference in com.sun.faces.el.impl.FunctionInvocation.evaluate(ExpressionInfo)</div>
<div class="bug-details">
<p> A reference value dereferenced here might be null at runtime.
This may lead to a <code>NullPointerException</code> when the code is executed.</p>
</div>
</div>
</div>
<div class="bug-box">
<a href="" onclick="toggle('category-CORRECTNESS-and-code-NP-and-bug-NP_NULL_ON_SOME_PATH-8');return false;">
<span class="bug-priority-2">
</span>
<span class="bug-type">NP: </span>In class javax.faces.component.UISelectMany</a>
<div style="display:none;" id="category-CORRECTNESS-and-code-NP-and-bug-NP_NULL_ON_SOME_PATH-8">
<div class="bug-ref">In class javax.faces.component.UISelectMany</div>
<div class="bug-ref">In method javax.faces.component.UISelectMany.matchValue(Object,java.util.Iterator)</div>
<div class="bug-ref">At UISelectMany.java:[line 412]</div>
<div class="bug-descr">NP: Possible null pointer dereference in javax.faces.component.UISelectMany.matchValue(Object,java.util.Iterator)</div>
<div class="bug-details">
<p> A reference value dereferenced here might be null at runtime.
This may lead to a <code>NullPointerException</code> when the code is executed.</p>
</div>
</div>
</div>
<div class="bug-box">
<a href="" onclick="toggle('category-CORRECTNESS-and-code-NP-and-bug-NP_NULL_ON_SOME_PATH-9');return false;">
<span class="bug-priority-2">
</span>
<span class="bug-type">NP: </span>In class javax.faces.component.UISelectOne</a>
<div style="display:none;" id="category-CORRECTNESS-and-code-NP-and-bug-NP_NULL_ON_SOME_PATH-9">
<div class="bug-ref">In class javax.faces.component.UISelectOne</div>
<div class="bug-ref">In method javax.faces.component.UISelectOne.matchValue(Object,java.util.Iterator)</div>
<div class="bug-ref">At UISelectOne.java:[line 152]</div>
<div class="bug-descr">NP: Possible null pointer dereference in javax.faces.component.UISelectOne.matchValue(Object,java.util.Iterator)</div>
<div class="bug-details">
<p> A reference value dereferenced here might be null at runtime.
This may lead to a <code>NullPointerException</code> when the code is executed.</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="innerbox-1">
<div class="innerbox-1-title">
<a href="" onclick="toggle('category-CORRECTNESS-and-code-RC');return false;">RC: Suspicious reference comparison
(1:
<span class="title-help">0/1/0/0</span>)
</a>
</div>
<div style="display:none;" id="category-CORRECTNESS-and-code-RC">
<div class="innerbox-2">
<div class="innerbox-2-title">
<a href="" onclick="toggle('category-CORRECTNESS-and-code-RC-and-bug-RC_REF_COMPARISON');return false;" title="RC_REF_COMPARISON">Suspicious reference comparison
(1:
<span class="title-help">0/1/0/0</span>)
</a>
</div>
<div style="display:none;" id="category-CORRECTNESS-and-code-RC-and-bug-RC_REF_COMPARISON">
<div class="bug-box">
<a href="" onclick="toggle('category-CORRECTNESS-and-code-RC-and-bug-RC_REF_COMPARISON-173');return false;">
<span class="bug-priority-2">
</span>
<span class="bug-type">RC: </span>In class com.sun.faces.util.Util</a>
<div style="display:none;" id="category-CORRECTNESS-and-code-RC-and-bug-RC_REF_COMPARISON-173">
<div class="bug-ref">In class com.sun.faces.util.Util</div>
<div class="bug-ref">In method com.sun.faces.util.Util.verifyRequiredClasses(javax.faces.context.FacesContext)</div>
<div class="bug-ref">At Util.java:[line 559]</div>
<div class="bug-ref">Reference type java.lang.Boolean</div>
<div class="bug-descr">RC: Suspicious comparison of java.lang.Boolean references in com.sun.faces.util.Util.verifyRequiredClasses(javax.faces.context.FacesContext)</div>
<div class="bug-details">
<p> This method compares two reference values using the == or != operator,
where the correct way to compare instances of this type is generally
with the equals() method. Examples of classes which should generally
not be compared by reference are java.lang.Integer, java.lang.Float, etc.</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="innerbox-1">
<div class="innerbox-1-title">
<a href="" onclick="toggle('category-CORRECTNESS-and-code-RCN');return false;">RCN: Redundant comparison to null
(4:
<span class="title-help">0/4/0/0</span>)
</a>
</div>
<div style="display:none;" id="category-CORRECTNESS-and-code-RCN">
<div class="innerbox-2">
<div class="innerbox-2-title">
<a href="" onclick="toggle('category-CORRECTNESS-and-code-RCN-and-bug-RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE');return false;" title="RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE">Redundant nullcheck of value known to be non-null
(1:
<span class="title-help">0/1/0/0</span>)
</a>
</div>
<div style="display:none;" id="category-CORRECTNESS-and-code-RCN-and-bug-RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE">
<div class="bug-box">
<a href="" onclick="toggle('category-CORRECTNESS-and-code-RCN-and-bug-RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE-141');return false;">
<span class="bug-priority-2">
</span>
<span class="bug-type">RCN: </span>In class com.sun.faces.renderkit.html_basic.HtmlBasicRenderer</a>
<div style="display:none;" id="category-CORRECTNESS-and-code-RCN-and-bug-RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE-141">
<div class="bug-ref">In class com.sun.faces.renderkit.html_basic.HtmlBasicRenderer</div>
<div class="bug-ref">In method com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getFormattedValue(javax.faces.context.FacesContext,javax.faces.component.UIComponent,Object)</div>
<div class="bug-ref">Redundant null check at HtmlBasicRenderer.java:[line 287]</div>
<div class="bug-descr">RCN: Redundant nullcheck of value known to be non-null com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getFormattedValue(javax.faces.context.FacesContext,javax.faces.component.UIComponent,Object)</div>
<div class="bug-details">
<p> This method contains a redundant check of a known non-null value against
the constant null.</p>
</div>
</div>
</div>
</div>
</div>
<div class="innerbox-2">
<div class="innerbox-2-title">
<a href="" onclick="toggle('category-CORRECTNESS-and-code-RCN-and-bug-RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE');return false;" title="RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE">Nullcheck of value previously dereferenced
(3:
<span class="title-help">0/3/0/0</span>)
</a>
</div>
<div style="display:none;" id="category-CORRECTNESS-and-code-RCN-and-bug-RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE">
<div class="bug-box">
<a href="" onclick="toggle('category-CORRECTNESS-and-code-RCN-and-bug-RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE-55');return false;">
<span class="bug-priority-2">
</span>
<span class="bug-type">RCN: </span>In class com.sun.faces.config.ManagedBeanFactory</a>
<div style="display:none;" id="category-CORRECTNESS-and-code-RCN-and-bug-RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE-55">
<div class="bug-ref">In class com.sun.faces.config.ManagedBeanFactory</div>
<div class="bug-ref">In method com.sun.faces.config.ManagedBeanFactory.copyMapEntriesFromConfigToMap(com.sun.faces.config.beans.MapEntriesBean,java.util.Map)</div>
<div class="bug-ref">At ManagedBeanFactory.java:[line 434]</div>
<div class="bug-ref">Redundant null check at ManagedBeanFactory.java:[line 443]</div>
<div class="bug-descr">RCN: Nullcheck of value previously dereferenced com.sun.faces.config.ManagedBeanFactory.copyMapEntriesFromConfigToMap(com.sun.faces.config.beans.MapEntriesBean,java.util.Map)</div>
<div class="bug-details">
<p> A value is checked here to see whether it is null, but this value can't
be null because it was previously dereferences and if it were null a null pointer
exception would have occurred. Essentially, this code and the previous dereference
disagree as to whether this value is allowed to be null. Either the check is redundant
or the previous dereference is erroneous.</p>
</div>
</div>
</div>
<div class="bug-box">
<a href="" onclick="toggle('category-CORRECTNESS-and-code-RCN-and-bug-RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE-142');return false;">
<span class="bug-priority-2">
</span>
<span class="bug-type">RCN: </span>In class com.sun.faces.renderkit.html_basic.HtmlBasicRenderer</a>
<div style="display:none;" id="category-CORRECTNESS-and-code-RCN-and-bug-RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE-142">
<div class="bug-ref">In class com.sun.faces.renderkit.html_basic.HtmlBasicRenderer</div>
<div class="bug-ref">In method com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getFormattedValue(javax.faces.context.FacesContext,javax.faces.component.UIComponent,Object)</div>
<div class="bug-ref">At HtmlBasicRenderer.java:[line 276]</div>
<div class="bug-ref">Redundant null check at HtmlBasicRenderer.java:[line 281]</div>
<div class="bug-descr">RCN: Nullcheck of value previously dereferenced com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getFormattedValue(javax.faces.context.FacesContext,javax.faces.component.UIComponent,Object)</div>
<div class="bug-details">
<p> A value is checked here to see whether it is null, but this value can't
be null because it was previously dereferences and if it were null a null pointer
exception would have occurred. Essentially, this code and the previous dereference
disagree as to whether this value is allowed to be null. Either the check is redundant
or the previous dereference is erroneous.</p>
</div>
</div>
</div>
<div class="bug-box">