/*
 * Copyright (C) 2016 the original author or authors.
 *
 * This file is part of jBB Application Project.
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  You may obtain a copy of the License at
 *        http://www.apache.org/licenses/LICENSE-2.0
 */

package org.jbb.members.web.base.form;

import javax.validation.constraints.NotNull;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class RemoveMemberForm {
    @NotNull
    private Long id = 0L;

}

@@ -315,16 +315,59 @@
 .form;%0A%0A
+import org.apache.commons.lang3.Validate;%0A%0A
 import j
@@ -422,231 +422,275 @@
 bok.
-AllArgsConstructor;%0Aimport lombok.Getter;%0Aimport lombok.NoArgsConstructor;%0Aimport lombok.Setter;%0A%0A@Getter%0A@Setter%0A@NoArgsConstructor%0A@AllArgsConstructor%0Apublic class RemoveMemberForm %7B%0A    @NotNull%0A    private Long id = 0L;
+Getter;%0Aimport lombok.Setter;%0A%0A@Getter%0A@Setter%0Apublic class RemoveMemberForm %7B%0A    @NotNull%0A    private Long id;%0A%0A    public RemoveMemberForm() %7B%0A        id = 0L;%0A    %7D%0A%0A    public RemoveMemberForm(Long id) %7B%0A        Validate.notNull(id);%0A        this.id = id;%0A    %7D%0A
 %0A%0A%7D%0A

Fix sonar