ome / omero-insight

Gradle project containing insight java client for OMERO
https://www.openmicroscopy.org/omero/
GNU General Public License v2.0
7 stars 14 forks source link

Logical AND should probably be used #429

Open scuniff opened 9 months ago

scuniff commented 9 months ago

https://github.com/ome/omero-insight/blob/cd24a6530e8a73547160cb00d14e50f4f47d0f11/src/main/java/org/openmicroscopy/shoola/util/ui/colourpicker/ColourPickerUtil.java#L69

Logical AND( && ) should probably be used

if (lut1 == null && lut2 == null)
    return true;