Skip to content

Commit

Permalink
Hotfix. Probably breaking...
Browse files Browse the repository at this point in the history
  • Loading branch information
PAException committed Nov 21, 2023
1 parent 6853686 commit 6e25888
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class SubstituteMessageModel {
@Setter(AccessLevel.NONE)
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private int substituteMessageId;
private long substituteMessageId;

@NotNull
@Column(unique = true)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class SubstituteModel {
@Setter(AccessLevel.NONE)
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private int substituteId;
private long substituteId;

@NotNull
private Date date;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,6 @@ else if (entry.text().startsWith("Abwesende Klassen"))
dayAndMonth = rawDate.substring(0, rawDate.lastIndexOf('.'));
currentDate = this.parseDate(dayAndMonth, weeks.get(week));
LOGGER.trace("[SUBSTITUTE] Switching to new date: " + dayAndMonth + "." + weeks.get(week));
System.out.println("[SUBSTITUTE] Switching to new date: " + dayAndMonth + "." + weeks.get(week));
}
}
}
Expand Down

0 comments on commit 6e25888

Please sign in to comment.