openmicroscopy/openmicroscopy — pull request #2589 by dominikl (2014-06-09 09:37:47+00:00)
Title: Fixed NPE

Just fixed a NPE, see https://trac.openmicroscopy.org.uk/ome/ticket/12365
Don't know how to test (how to get into the state that originalDef is not set), maybe a code review is sufficient?
Just applied the same logic to isOriginalPlane() as isOriginalSettings(), i. e. originalDef==null implies nothing has changed, return true.