Skip to content

Instantly share code, notes, and snippets.

t.nemoto.x kuneo

Block or report user

Report or block kuneo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View mockito_maven
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<version>1.10.19</version>
</dependency>
View DigitsTypeUse
package kuneo.org.sample.typeuse;
import static java.lang.annotation.ElementType.TYPE_USE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import javax.validation.Constraint;
View bean validation test
(import snip)
public class BeanValidationTest {
private Validator validator;
@Before
public void init() {
// バリデータを生成する
ValidatorFactory validatorFactory = Validation.buildDefaultValidatorFactory();
You can’t perform that action at this time.