Object>>#initialize method added
Reason for change
Some ported open source applications contain subclasses of Object that send super initialize in their own initialization code.
Change
Add an empty Object>>#initialize method.
Action required
This change does not directly affect the function of any code.
If any of your applications supply an empty #initialize method in subclasses of Object, you can (but don’t have to) remove the method.
What this change does affect is the results of static code analysis tools such as ENVY/QA Code Critic or Smalllint. They may indicate a possible bug that was not previously indicated. Here is the description from Code Critic for this possible bug:
Should call superclass
Warns if the checked method specializes selectors
but does not call their superclass implementation. For
example, when implementing #initialize it is common
to call super #initialize.
Adding super initialize to #initialize methods which are flagged by these tools is an appropriate change.
Last modified date: 07/02/2019