You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
minor #5043 Switched the first example to a static constructor method (kix)
This PR was submitted for the 2.6 branch but it was merged into the 2.3 branch instead (closes#5043).
Discussion
----------
Switched the first example to a static constructor method
I believe having a non-static method for class instantiation is not something the documentation should encourage. It's much better to use a named constructor here (also note that `TestObject` class code isn't supplied).
Commits
-------
118513b Switched the first example to a static constructor method
0 commit comments