File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -137,12 +137,12 @@ Advice: Use 'private' when declaration does not need to be accessed outside of f
137
137
138
138
Applying the ``private `` keyword to a declaration restricts the visibility of
139
139
the declaration to the file in which it is declared. This allows the compiler to
140
- be able to ascertain all other potentially overridding declarations. Thus the
140
+ be able to ascertain all other potentially overriding declarations. Thus the
141
141
absence of any such declarations enables the compiler to infer the ``final ``
142
142
keyword automatically and remove indirect calls for methods and field accesses
143
143
accordingly. For instance in the following, ``e.doSomething() `` and
144
144
``f.myPrivateVar ``, will be able to be accessed directly assuming ``E ``, ``F ``
145
- do not have any overridding declarations in the same file:
145
+ do not have any overriding declarations in the same file:
146
146
147
147
::
148
148
You can’t perform that action at this time.
0 commit comments