Upgrade the samples to Spring Boot 2.4.x

Closes gh-723
This commit is contained in:
Andy Wilkinson
2021-06-15 11:00:20 +01:00
parent bf1bfc4075
commit 55cbdd505a
27 changed files with 255 additions and 309 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2014 the original author or authors.
* Copyright 2014-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -35,7 +35,7 @@ import org.hibernate.validator.constraints.ConstraintComposition;
@NotBlank
@Target({ ElementType.FIELD, ElementType.PARAMETER })
@Retention(RetentionPolicy.RUNTIME)
public @interface NullOrNotBlank {
@interface NullOrNotBlank {
String message() default "Must be null or not blank";