Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

695 changes: 695 additions & 0 deletions Java/spring-thymeleaf-crud-example/dependency-check-jenkins.html

Large diffs are not rendered by default.

273 changes: 273 additions & 0 deletions Java/spring-thymeleaf-crud-example/dependency-check-junit.xml

Large diffs are not rendered by default.

34 changes: 34 additions & 0 deletions Java/spring-thymeleaf-crud-example/dependency-check-report.csv

Large diffs are not rendered by default.

940 changes: 940 additions & 0 deletions Java/spring-thymeleaf-crud-example/dependency-check-report.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

273 changes: 273 additions & 0 deletions Java/spring-thymeleaf-crud-example/dependency-check-report.xml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
@Setter
@Entity
@Table(name = "student")
@EqualsAndHashCode(of = {"id"})
@EqualsAndHashCode(of = { "id" })
public class Student {
@Transient
private static final Logger logger = LoggerFactory.getLogger(Student.class);
Expand All @@ -38,7 +38,11 @@ public class Student {
private void prePersist() {
this.id = UUID.randomUUID().toString();
this.createdAt = LocalDateTime.now();
logger.info("Created user {}", this);

logger.info("Created user {}",
this.getName().replaceAll(".", "*") + " " + this.getEmail().replaceAll(".", "*") + " " +
this.getBirthday().toString().replaceAll(".", "*") + " "
+ this.getAddress().toString().replaceAll(".", "*"));
}

@PreUpdate
Expand Down
Loading