OpenNMS/opennms — pull request #6 by nallagsoc (2013-04-25 18:42:17+00:00)
Title: Preventing downcasting when the object can be null and other refactoring

preventing direct down casting with out checking for null as some of the member fields of the Event can be null. Refactoring is done to make the code precise rather than using intermediate variables instead of directly assigning the value and use of generic Object type unnecessarily.