/**
 * hub-common
 *
 * Copyright (C) 2018 Black Duck Software, Inc.
 * http://www.blackducksoftware.com/
 *
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements. See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership. The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License. You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied. See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */
package com.blackducksoftware.integration.hub.notification;

import java.util.List;

import org.apache.commons.lang3.builder.RecursiveToStringStyle;
import org.apache.commons.lang3.builder.ReflectionToStringBuilder;

import com.blackducksoftware.integration.hub.api.view.CommonNotificationState;
import com.blackducksoftware.integration.hub.service.bucket.HubBucket;

public class NotificationResults {
    private final List<CommonNotificationState> notificationContentItems;
    private final HubBucket hubBucket;

    public NotificationResults(final List<CommonNotificationState> notificationContentItems, final HubBucket hubBucket) {
        super();
        this.notificationContentItems = notificationContentItems;
        this.hubBucket = hubBucket;
    }

    public List<CommonNotificationState> getNotificationContentItems() {
        return notificationContentItems;
    }

    public HubBucket getHubBucket() {
        return hubBucket;
    }

    @Override
    public String toString() {
        return ReflectionToStringBuilder.toString(this, RecursiveToStringStyle.JSON_STYLE);
    }

}

@@ -979,20 +979,26 @@
 va.util.
-List
+Collection
 ;%0A%0Aimpor
@@ -1324,28 +1324,34 @@
 ivate final 
-List
+Collection
 %3CCommonNotif
@@ -1467,20 +1467,26 @@
 s(final 
-List
+Collection
 %3CCommonN
@@ -1699,12 +1699,18 @@
 lic 
-List
+Collection
 %3CCom

Change the CommonNotificationState list to a collection