thechiselgroup/biomixer — comment on commit cd3a19b8b92d5bfeb32d17e42167528c10f9c54c
File: biomixer/src/org/thechiselgroup/biomixer/client/visualization_component/graph/svg_widget/BoxedTextSvgComponent.java line 154
By lgrammel:

the ? works great in such cases:

return longestTextLine == null ? 0.0 : getTextSize(longestTextLine).getWidth();