Skip to content

Commit b9d1591

Browse files
committed
work
1 parent f743cd1 commit b9d1591

File tree

12 files changed

+33
-63
lines changed

12 files changed

+33
-63
lines changed
File renamed without changes.

dev.sh renamed to etc/dev.sh

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

run.sh renamed to etc/run.sh

File renamed without changes.

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1137,7 +1137,7 @@
11371137

11381138
<build>
11391139
<finalName>${project.artifactId}</finalName>
1140-
<defaultGoal>clean dependency:tree install spring-boot:run</defaultGoal>
1140+
<defaultGoal>clean dependency:tree package spring-boot:run</defaultGoal>
11411141
<pluginManagement>
11421142
<plugins>
11431143
<plugin>

release.sh

Lines changed: 0 additions & 14 deletions
This file was deleted.

src/main/java/org/woehlke/simpleworklist/common/domain/AuditModel.java

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -39,33 +39,6 @@ public class AuditModel extends Object implements Serializable {
3939
@Column(name = "row_updated_at", nullable = false)
4040
protected Date rowUpdatedAt;
4141

42-
/*
43-
public String getUuid() {
44-
return uuid;
45-
}
46-
47-
public void setUuid(String uuid) {
48-
this.uuid = uuid;
49-
}
50-
51-
public Date getRowCreatedAt() {
52-
return rowCreatedAt;
53-
}
54-
55-
public void setRowCreatedAt(Date rowCreatedAt) {
56-
this.rowCreatedAt = rowCreatedAt;
57-
}
58-
59-
public Date getRowUpdatedAt() {
60-
return rowUpdatedAt;
61-
}
62-
63-
public void setRowUpdatedAt(Date rowUpdatedAt) {
64-
this.rowUpdatedAt = rowUpdatedAt;
65-
}
66-
*/
67-
68-
6942
@Override
7043
public boolean equals(Object o) {
7144
if (this == o) return true;

src/main/java/org/woehlke/simpleworklist/domain/context/Context.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
import javax.persistence.*;
1313
import javax.persistence.Index;
1414
import java.io.Serializable;
15+
import java.util.UUID;
1516

1617
import static org.hibernate.annotations.LazyToOneOption.PROXY;
1718

@@ -76,6 +77,7 @@ public class Context extends AuditModel implements Serializable, ComparableById<
7677
public Context(String nameDe, String nameEn) {
7778
this.nameDe = nameDe;
7879
this.nameEn = nameEn;
80+
this.uuid = UUID.randomUUID().toString();
7981
}
8082

8183
@Transient

0 commit comments

Comments
 (0)