package org.repoanalyzer.reporeader.commit;

import java.util.LinkedList;

public class Author {

    private LinkedList<String> names;
    private LinkedList<String> emails;

    public Author(String name, String email) {
        this.names.add(name);
        this.emails.add(email);
    }

    public LinkedList<String> getNames() {
        return names;
    }

    public String getFirstName() {
        return names.getFirst();
    }

    public LinkedList<String> getEmails() {
        return emails;
    }

    public void addName(String name) {
        names.add(name);
    }

    public void addEmail(String email) {
        emails.add(email);
    }
}

@@ -66,16 +66,39 @@
 kedList;
+%0Aimport java.util.List;
 %0A%0Apublic
@@ -231,32 +231,116 @@
 String email) %7B%0A
+        this.names = new LinkedList%3C%3E();%0A        this.emails = new LinkedList%3C%3E();%0A%0A
         this.nam
@@ -395,38 +395,32 @@
   %7D%0A%0A    public 
-Linked
 List%3CString%3E get
@@ -544,22 +544,16 @@
  public 
-Linked
 List%3CStr
@@ -705,32 +705,32 @@
 String email) %7B%0A
-
         emails.a
@@ -745,11 +745,98 @@
 );%0A    %7D
+%0A%0A    @Override%0A    public String toString()%7B%0A        return this.getFirstName();%0A    %7D
 %0A%7D%0A

update in Author