Back

LL099

Empty constructor

Object Pascal — Delphi & Free Pascal
Info
CodeSmell

A constructor that only calls inherited adds no value and can be removed

a constructor that only calls inherited adds no value and can be removed.

Why this severity

a constructor that only calls inherited adds no value and can be removed.


Known false positives

constructors kept as placeholders for debugger breakpoints.

Remediation example

// Remove the empty constructor; the inherited
// constructor will be called automatically.

Related CodeSmell rules

Reconnecting… Connection lost. Reload