Skip to main content
assistive.skiplink.to.breadcrumbs
assistive.skiplink.to.header.menu
assistive.skiplink.to.action.menu
assistive.skiplink.to.quick.search
Log in
Confluence
Spaces
Hit enter to search
Help
Online Help
Keyboard Shortcuts
Feed Builder
What’s new
Available Gadgets
About Confluence
Log in
SEI CERT Oracle Coding Standard for Java
Pages
Boards
Space shortcuts
Dashboard
Secure Coding Home
Android
C
C++
Java
Perl
Page tree
Browse pages
Configure
Space tools
View Page
Page History
Page Information
View in Hierarchy
View Source
Export to PDF
Pages
Old Categories
3. Reliability
Page History
Versions Compared
Old Version
3
changes.mady.by.user
Carol J. Lallier
Saved on
Sep 29, 2014
compared with
New Version
4
changes.mady.by.user
Carol J. Lallier
Saved on
Sep 29, 2014
Previous Change: Difference between versions 2 and 3
Next Change: Difference between versions 4 and 5
View Page History
Key
This line was added.
This line was removed.
Formatting was changed.
...
Content by Label
showLabels
false
max
99
spaces
@self
sort
title
showSpace
false
labels
+3reliability, -void
37. Do not shadow or obscure identifiers in subscopes
38. Do not declare more than one variable per declaration
39. Use meaningful symbolic constants to represent literal values in program logic
40. Properly encode relationships in constant definitions
41. Return an empty array or collection instead of a null value for methods that return an array or collection
42. Use exceptions only for exceptional conditions
43. Use a try-with-resources statement to safely handle closeable resources
44. Do not use assertions to verify the absence of runtime errors
45. Use the same type for the second and third operands in conditional expressions
46. Do not serialize direct handles to system resources
47. Prefer using iterators over enumerations
48. Do not use direct buffers for short-lived, infrequently used objects
49. Remove short-lived objects from long-lived container objects
Overview
Content Tools
{"serverDuration": 60, "requestCorrelationId": "8faca10755283485"}