removed constructors without parameters

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/social-networking/social-networking-service-model@157536 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Costantino Perciante 2017-10-24 16:14:00 +00:00
parent 9e2dd7a7e1
commit 9a74892f42
6 changed files with 5 additions and 24 deletions

10
pom.xml
View File

@ -53,11 +53,6 @@
<version>[1.0.0-SNAPSHOT,)</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.ext</groupId>
<artifactId>jersey-bean-validation</artifactId>
@ -76,6 +71,11 @@
<version>${version.jersey}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>

View File

@ -17,10 +17,6 @@ public class ApplicationId {
@Size(message="app_id cannot be empty", min=1)
private String appId;
public ApplicationId() {
super();
}
public ApplicationId(String appId) {
super();
this.appId = appId;

View File

@ -42,10 +42,6 @@ public class JobNotificationBean {
@JsonProperty("status_message")
private String statusMessage;
public JobNotificationBean() {
super();
}
/**
* @param recipient
* @param jobId

View File

@ -43,10 +43,6 @@ public class MessageInputBean implements Serializable {
@Valid // validate recursively
private ArrayList<Recipient> recipients;
public MessageInputBean() {
super();
}
public MessageInputBean(String body, String subject,
ArrayList<Recipient> recipients) {
super();

View File

@ -42,10 +42,6 @@ public class PostInputBean implements Serializable{
@JsonProperty("params")
private String params;
public PostInputBean() {
super();
}
public PostInputBean(String text, String previewtitle,
String previewdescription, String previewhost, String previewurl,
String httpimageurl, boolean enablenotification, String params) {

View File

@ -24,9 +24,6 @@ public class Recipient implements Serializable{
@Size(min=1, message="recipient id must not be empty")
private String id;
public Recipient() {
super();
}
public Recipient(String id) {
super();
this.id = id;