• 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
SEI CERT Oracle Coding Standard for Java
  • Pages
  • Boards

Space shortcuts

  • Dashboard
  • Secure Coding Home
  • Android
  • C
  • C++
  • Java
  • Perl

Page tree

Browse pages
    • Attachments (0)
    • Page History
    • Page Information
    • Resolved comments
    • View in Hierarchy
    • View Source
    • Export to PDF
    • Export to Word
  1. Pages
  2. SEI CERT Oracle Coding Standard for Java
  3. 3 Recommendations
  • Jira links

Rec. 06. Methods (MET)

  • Created by Barbara White, last modified by Will Snavely on Nov 16, 2017

  • 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
  • Powered by Atlassian Confluence 8.5.23
  • Printed by Atlassian Confluence 8.5.23
  • Report a bug
  • Atlassian News
Atlassian

Carnegie Mellon University
Software Engineering Institute
4500 Fifth Avenue
Pittsburgh, PA 15213-2612
412-268-5800

Contact Us
  • Office Locations|
  • Additional Sites Directory|
  • Legal|
  • Privacy Notice|
  • CMU Ethics Hotline|
  • www.sei.cmu.edu

©2023 Carnegie Mellon University

{"serverDuration": 71, "requestCorrelationId": "fc17d52fdc74b483"}