Jan
unread,Jul 18, 2024, 8:00:08 AM (3 days ago) Jul 18Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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