diff --git a/README_ASSIGNMENT.pdf b/README_ASSIGNMENT.pdf new file mode 100644 index 000000000..cf841c323 Binary files /dev/null and b/README_ASSIGNMENT.pdf differ diff --git a/alitheia/core/src/main/java/eu/sqooss/service/db/Developer.java b/alitheia/core/src/main/java/eu/sqooss/service/db/Developer.java index 26f99af02..e07581972 100644 --- a/alitheia/core/src/main/java/eu/sqooss/service/db/Developer.java +++ b/alitheia/core/src/main/java/eu/sqooss/service/db/Developer.java @@ -33,11 +33,8 @@ package eu.sqooss.service.db; -import java.util.HashMap; import java.util.HashSet; -import java.util.List; import java.util.Set; -import java.util.Map; import javax.persistence.CascadeType; import javax.persistence.Column; @@ -53,9 +50,6 @@ import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; -import org.apache.commons.codec.digest.DigestUtils; - -import eu.sqooss.core.AlitheiaCore; import eu.sqooss.service.db.DAObject; /** @@ -198,239 +192,6 @@ public void addAlias(String email) { getAliases().add(da); } - /** - * Return the entry in the Developer table that corresponds to the provided - * email. If the entry does not exist, it will be created and saved. If the - * email username (the part before @) exists in the database, then this - * record is updated with the provided email and returned. - * - * @param email - * The Developer's email - * @param sp The StoredProject this Developer belongs to - * @return A Developer record for the specified Developer or null when: - *