Merge remote-tracking branch 'origin/feature_json-gardenplan_M2' into feature_json-task-db_M2

This commit is contained in:
Gian-Andrea Hutter 2022-10-24 13:54:43 +02:00
commit e550f5549a
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
package ch.zhaw.gartenverwaltung.io;
public class IdProvider {
private long currentId;
public IdProvider(long initialValue) {
currentId = initialValue;
}
public long incrementAndGet() {
return ++currentId;
}
}