File tree Expand file tree Collapse file tree
src/jvmMain/kotlin/bbs/priorityqueue/appdata Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -41,7 +41,9 @@ kotlin {
4141 useJUnitPlatform()
4242 }
4343 }
44-
44+
45+ // TODO add quarkus tests to project
46+ // TODO example tests with deploying library into projects as well
4547 sourceSets {
4648 val jvmMain by getting{
4749 dependencies {
Original file line number Diff line number Diff line change 11# Gradle properties
2- version =1.0.8
2+ version =1.0.9
Original file line number Diff line number Diff line change @@ -10,17 +10,14 @@ import org.joda.time.LocalDate
1010
1111@JsonInclude(JsonInclude .Include .NON_NULL )
1212@DynamoDbBean
13- class PriorityQueueElement () {
13+ class PriorityQueueElement {
1414
15- init {
16-
17- }
18-
19- constructor (id: String? ) : this () {
15+ constructor ()
16+ constructor (id: String? ) {
2017 this .id = id
2118 }
2219
23- constructor (id: String , date: LocalDate ? ) : this () {
20+ constructor (id: String , date: LocalDate ? ) {
2421 Utils .throwIfNullOrEmptyString(id, " ID cannot be null!" )
2522 this .id = id.trim { it <= ' ' }
2623 systemInfo = SystemInfo (this .id)
@@ -60,7 +57,7 @@ class PriorityQueueElement() {
6057
6158 @get:DynamoDbAttribute(" data" )
6259 @JsonProperty(" data" )
63- var data: String? = null
60+ var data: String? = null
6461
6562 fun convertDateToIso (){
6663
@@ -76,4 +73,10 @@ class PriorityQueueElement() {
7673 }
7774 }
7875
76+ init {
77+ id = null
78+ schedule = null
79+ data = null
80+ }
81+
7982}
You can’t perform that action at this time.
0 commit comments