[OpenNMS/opennms] 1c9c81: NMS-20204: Address review findings in the event tr...

Marshall Massengill via opennms-cvs <[email protected]>
Newsgroups gmane.network.opennms.cvs
Message-ID <OpenNMS/opennms/push/refs/heads/mm/NMS-20204-smoke/[email protected]>
  Branch: refs/heads/mm/NMS-20204-smoke
  Home:   https://github.com/OpenNMS/opennms
  Commit: 1c9c81edc35b708a7412650df2470f4dabed5c66
      https://github.com/OpenNMS/opennms/commit/1c9c81edc35b708a7412650df2470f4dabed5c66
  Author: Marshall Massengill <[email protected]>
  Date:   2026-08-12 (Wed, 12 Aug 2026)

  Changed paths:
    M opennms-config/src/main/java/org/opennms/netmgt/config/EventTranslatorConfigFactory.java

  Log Message:
  -----------
  NMS-20204: Address review findings in the event translator

Read m_translationSpecs into a local before the null check. Returning the
field directly hands back null when update() clears it in between, and
translateEvent() iterates the result. Two threads racing a reload may now
each construct a list, which is cheaper than putting a lock on the
per-event path.

Fix the misplaced quotes in the two getAttributeValue() debug messages.



To unsubscribe from these emails, change your notification settings at https://github.com/OpenNMS/opennms/settings/notifications


_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/wiki/index.php?page=MailingListFaq
opennms-cvs mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.