nozzle/nozzle tip names in log messages

15 views
Skip to first unread message

Jan

unread,
Jul 18, 2024, 8:00:08 AM (3 days ago) Jul 18
to OpenPnP
Hi all!
Over the past I've recorded a few situations where I found nozzle and
nozzle tip names in log messages and message boxes not very conclusive.
Looking for "nozzle" or "nozzleTip" in eg. the JobProcessor indicates
that in about half the situations getName() is used to provide a well
recognized name. If getName() is not used, the output is not very useful
(at least to me). If I understand the Java precipices correctly, the
toString() method is used to retrieve an string representation from an
object. Now, my question is, why do Nozzle and NozzleTip not provide a
dedicated toString() method and returns eg. the configurable name or
something else, that is easily identifiable? Is there a reason why using
getName() explicitly is favored over a generalized solution like
getString() returning the result of getName()?

Jan
Reply all
Reply to author
Forward
0 new messages