package org.jboss.da.reports.api;

import java.util.Collections;
import java.util.List;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.NonNull;
import lombok.RequiredArgsConstructor;

/**
 *
 * @author Honza Brázdil <janinko.g@gmail.com>
 */
@RequiredArgsConstructor
@AllArgsConstructor
@NoArgsConstructor
public class SCMLocator {

    @Getter
    @NonNull
    private String scmUrl;

    @Getter
    @NonNull
    private String revision;

    @Getter
    @NonNull
    private String pomPath;

    @Getter
    @NonNull
    private List<String> repositories = Collections.emptyList();
}

@@ -92,35 +92,28 @@
 ort 
-lombok.AllArgsConstructor
+java.util.Objects
 ;%0A
+%0A
 impo
@@ -313,28 +313,8 @@
 tor%0A
-@AllArgsConstructor%0A
 @NoA
@@ -534,32 +534,32 @@
 er%0A    @NonNull%0A
-
     private List
@@ -607,10 +607,377 @@
 List();%0A
+%0A    public SCMLocator(String scmUrl, String revision, String pomPath, List%3CString%3E repositories) %7B%0A        this.scmUrl = Objects.requireNonNull(scmUrl);%0A        this.revision = Objects.requireNonNull(revision);%0A        this.pomPath = Objects.requireNonNull(pomPath);%0A        if (repositories != null) %7B%0A            this.repositories = repositories;%0A        %7D%0A    %7D%0A%0A
 %7D%0A

change All Args Constructor of SCMLocator to accept null repositories