/** * Returns error location type, defaulting to {@link LocationType#OTHER}. */ private LocationType getLocationTypeWithDefault() { LocationType type = getLocationType(); return type != null ? type : LocationType.OTHER; }
/** * Returns error location type, defaulting to {@link LocationType#OTHER}. */ private LocationType getLocationTypeWithDefault() { LocationType type = getLocationType(); return type != null ? type : LocationType.OTHER; }
LocationType locationType = se.getLocationType(); if (locationType == null) { locationType = LocationType.OTHER;