private ImmutableSet<ResultAttribute> initResultAttributesToWriteAsTags(List<String> resultTags) {
		ImmutableSet<ResultAttribute> result;
		if (resultTags == null) {
			result = ImmutableSet.copyOf(ResultAttributes.values());
		} else {
			result = ResultAttributes.forNames(resultTags);
		}
		LOG.debug("Result Tags to write set to: {}", result);
		return result;
	}
private ImmutableSet < ResultAttribute > initResultAttributesToWriteAsTags ( List < String > resultTags ) { ImmutableSet < ResultAttribute > result ; if ( resultTags == null ) { result = ImmutableSet . copyOf ( ResultAttributes . values ( ) ) ; } else { result = ResultAttributes . forNames ( resultTags ) ; } LOG . debug ( "Result Tags to write set to: {}" , result ) ; return result ; }
Copied from InfluxDbWriterFactory
@param resultTags
@return