private List<StatisticTag> buildTagList(final List<StatisticTag> tagList) {
        // build a new list object and make it unmodifiable
        // or just return an unmodifiable empty list
        if (tagList != null) {
            final List<StatisticTag> tempTagList = new ArrayList<>(tagList);

            return Collections.unmodifiableList(tempTagList);
        } else {
            return Collections.unmodifiableList(Collections.emptyList());
        }
    }
@param name
@param tagList Must be ordered by tag name. Can be null.
@param value
stroom-statistics/stroom-statistics-impl-sql/src/main/java/stroom/statistics/impl/sql/TimeAgnosticStatisticEvent.java