package org.talend.dataprep.api.service.mail;

import org.elasticsearch.common.lang3.StringUtils;

import java.io.Serializable;

/**
 * This class contains all the data needed to send feedback to Talend.
 */
public class MailDetails implements Serializable {

    private String title;

    private String mail;

    private String severity;

    private String type;

    private String description;

    public String getSeverity() {
        return severity;
    }

    public void setSeverity(String severity) {
        this.severity = severity;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getMail() {
        return mail;
    }

    public void setMail(String mail) {
        this.mail = mail;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public boolean isEmpty() {
        return StringUtils.isEmpty(title) && StringUtils.isEmpty(mail) && StringUtils.isEmpty(severity) && StringUtils
                .isEmpty(type) &&
                StringUtils.isEmpty(description);
    }

    @Override public String toString() {
        return "MailDetails{" +
                "title='" + title + '\'' +
                ", mail='" + mail + '\'' +
                ", severity='" + severity + '\'' +
                ", type='" + type + '\'' +
                ", description='" + description + '\'' +
                '}';
    }
}
@@ -51,38 +51,61 @@
 ort 
-org.elasticsear
+java.io.Serializable;%0A%0Aimport org.apa
 ch
+e
 .common
+s
 .lang
-3
 .Str
@@ -119,38 +119,8 @@
 s;%0A%0A
-import java.io.Serializable;%0A%0A
 /**%0A
@@ -1181,24 +1181,39 @@
 ty(title) &&
+ //%0A           
  StringUtils
@@ -1225,24 +1225,39 @@
 pty(mail) &&
+ //%0A           
  StringUtils
@@ -1278,27 +1278,18 @@
 ity) && 
-StringUtils
+//
 %0A       
@@ -1293,20 +1293,27 @@
         
-    
+StringUtils
 .isEmpty
@@ -1321,21 +1321,20 @@
 type) &&
-%0A    
+ //%0A
         

use correct import