Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update to Kotlin 0.7.5

Add "override" to "toString" members in project
  • Loading branch information...
commit 668011c7f1a8ff9a1fe2b6c7edb585d81ffcb962 1 parent 517b619
@udalov udalov authored
View
2  NewsEngine/src/com/silverkeytech/news_engine/syndications/SyndicationFeedItem.kt
@@ -55,7 +55,7 @@ public data class SyndicationFeedItem(){
extensions.put(name, content)
}
- public fun toString(): String {
+ override fun toString(): String {
if (hasTitle())
return title!!
else if (hasDescription())
View
BIN  lib/kotlin-runtime-sources.jar
Binary file not shown
View
BIN  lib/kotlin-runtime.jar
Binary file not shown
View
4 src/com/silverkeytech/android_rivers/creators/CraigList.kt
@@ -29,7 +29,7 @@ public data class CraigsListCity(
public val location: String,
public val grouping: String
){
- public fun toString(): String {
+ override fun toString(): String {
return "$code,$areaId,$url,$location,$grouping"
}
}
@@ -75,7 +75,7 @@ public data class CraigsListCategory(
public val code: String,
public val name: String
){
- public fun toString(): String {
+ override fun toString(): String {
return "$code - $name"
}
}
View
2  src/com/silverkeytech/android_rivers/db/Bookmark.kt
@@ -50,7 +50,7 @@ public class Bookmark(){
[DatabaseField(canBeNull = true, foreign = true, columnName = "bookmark_collection_id")]
public var collection: BookmarkCollection? = null
- public fun toString(): String {
+ override fun toString(): String {
return title
}
}
View
2  src/com/silverkeytech/android_rivers/db/BookmarkCollection.kt
@@ -38,7 +38,7 @@ public class BookmarkCollection(){
[DatabaseField(canBeNull = false, columnName = "kind")]
public var kind: String = ""
- public fun toString(): String {
+ override fun toString(): String {
return title
}
}
View
2  src/com/silverkeytech/android_rivers/db/Podcast.kt
@@ -67,7 +67,7 @@ public class Podcast(){
[DatabaseField(canBeNull = false, columnName = "date_created", dataType = DataType.DATE)]
public var dateCreated: Date = Calendar.getInstance().getTime()
- public fun toString(): String {
+ override fun toString(): String {
return title
}
}
View
2  src/com/silverkeytech/android_rivers/db/SavedNewsItem.kt
@@ -43,7 +43,7 @@ public class SavedNewsItem(){
[DatabaseField(canBeNull = false, columnName = "date_created", dataType = DataType.DATE)]
public var dateCreated: Date = Calendar.getInstance().getTime()
- public fun toString(): String {
+ override fun toString(): String {
return title
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.