Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 448 Bytes

V045.md

File metadata and controls

15 lines (9 loc) · 448 Bytes

V045 - New protected constructor (does not match supertype)

  • Code: V045
  • Level: MAJOR
  • Rule: New protected constructor (does not match supertype)

Description

A class for which a new protected constructor is introduced with a different signature may break existing client code that instantiate the class using the supertype constructor parameters.

  • [MAJOR] Makes incompatible API changes

Examples

Go back to ruleset