Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e2ecdd0

Browse files
author
Rajeev Kumar Singh
committed
Using javax NotBlank constraint
1 parent e6a2f67 commit e2ecdd0

File tree

1 file changed

+1
-1
lines changed
  • src/main/java/com/example/easynotes/model

1 file changed

+1
-1
lines changed

‎src/main/java/com/example/easynotes/model/Note.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
package com.example.easynotes.model;
22

33
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
4-
import org.hibernate.validator.constraints.NotBlank;
54
import org.springframework.data.annotation.CreatedDate;
65
import org.springframework.data.annotation.LastModifiedDate;
76
import org.springframework.data.jpa.domain.support.AuditingEntityListener;
87

98
import javax.persistence.*;
9+
import javax.validation.constraints.NotBlank;
1010
import java.util.Date;
1111

1212
/**

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /