Skip to content

Commit

Permalink
Fix some warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
autoreleasefool committed Sep 27, 2018
1 parent 2b2211f commit 72c75cf
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,5 @@ class BowlerNameStatistic(override var value: String = "") : StringStatistic {
/**
* Construct this statistic from a [Parcel].
*/
private constructor(p: Parcel): this(value = p.readString())
private constructor(p: Parcel): this(value = p.readString()!!)
}
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,5 @@ class GameNameStatistic(override var value: String = "") : StringStatistic {
/**
* Construct this statistic from a [Parcel].
*/
private constructor(p: Parcel): this(value = p.readString())
private constructor(p: Parcel): this(value = p.readString()!!)
}
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,5 @@ class LeagueNameStatistic(override var value: String = "") : StringStatistic {
/**
* Construct this statistic from a [Parcel].
*/
private constructor(p: Parcel): this(value = p.readString())
private constructor(p: Parcel): this(value = p.readString()!!)
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@ class SeriesNameStatistic(override var value: String = "") : StringStatistic {
/**
* Construct this statistic from a [Parcel].
*/
private constructor(p: Parcel): this(value = p.readString())
private constructor(p: Parcel): this(value = p.readString()!!)
}

0 comments on commit 72c75cf

Please sign in to comment.