Skip to content
Skip to breadcrumbs
Skip to header menu
Skip to action menu
Skip to quick search
Confluence
Spaces
Hit enter to search
Help
Online Help
Keyboard Shortcuts
Feed Builder
What’s new
Available Gadgets
About Confluence
Log in
Sign up
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
A
t
tachments (0)
Page History
Page Information
Resolved comments
View in Hierarchy
View Source
Export to PDF
Export to Word
Pages
SEI CERT Oracle Coding Standard for Java
3 Recommendations
Skip to end of banner
Jira links
Go to start of banner
Rec. 06. Methods (MET)
Skip to end of metadata
Created by
Barbara White
, last modified by
Will Snavely
on
Nov 16, 2017
Go to start of metadata
Page:
MET50-J. Avoid ambiguous or confusing uses of overloading
Page:
MET51-J. Do not use overloaded methods to differentiate between runtime types
Page:
MET52-J. Do not use the clone() method to copy untrusted method parameters
Page:
MET53-J. Ensure that the clone() method calls super.clone()
Page:
MET54-J. Always provide feedback about the resulting value of a method
Page:
MET55-J. Return an empty array or collection instead of a null value for methods that return an array or collection
Page:
MET56-J. Do not use Object.equals() to compare cryptographic keys
met
recommendation-list
Overview
Content Tools
{"serverDuration": 69, "requestCorrelationId": "d4536643ab4b1ba5"}