package ru.vyarus.guice.validator.simple;

import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;

/**
 * @author Vyacheslav Rusakov
 * @since 24.06.2014
 */
public class SimpleBean {

    @NotBlank
    private String name;
    @NotNull
    private Integer value;

    public SimpleBean() {
    }

    public SimpleBean(String name, Integer value) {
        this.name = name;
        this.value = value;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getValue() {
        return value;
    }

    public void setValue(Integer value) {
        this.value = value;
    }
}

@@ -40,36 +40,29 @@
 e;%0A%0A
+%0A
 import 
-org.hibernate
+javax
 .validat
 or.c
@@ -57,18 +57,19 @@
 .validat
-or
+ion
 .constra
@@ -83,17 +83,16 @@
 tBlank;%0A
-%0A
 import j

fix deprecated annotations usage