-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sarthak: Changed version from RELEASE to specific version and integra…
…ted jacoco
- Loading branch information
1 parent
3beaec7
commit 3ecf134
Showing
3 changed files
with
42 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
package com.github.dataanon | ||
|
||
data class Field<T: Any>(val name: String, val oldValue: T, var newValue: T = oldValue) | ||
class Field<T: Any>(val name: String, val oldValue: T, var newValue: T = oldValue) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
package com.github.dataanon | ||
|
||
data class Record(private val fields: List<Field<Any>>, val rowNum: Int) { | ||
class Record(private val fields: List<Field<Any>>, val rowNum: Int) { | ||
|
||
fun find(name: String): Field<Any> = fields.first {name.equals(it.name, true)} | ||
} |