Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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
Alexander Udalov udalov authored
2  NewsEngine/src/com/silverkeytech/news_engine/syndications/SyndicationFeedItem.kt
View
@@ -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())
BIN  lib/kotlin-runtime-sources.jar
View
Binary file not shown
BIN  lib/kotlin-runtime.jar
View
Binary file not shown
4 src/com/silverkeytech/android_rivers/creators/CraigList.kt
View
@@ -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"
}
}
2  src/com/silverkeytech/android_rivers/db/Bookmark.kt
View
@@ -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
}
}
2  src/com/silverkeytech/android_rivers/db/BookmarkCollection.kt
View
@@ -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
}
}
2  src/com/silverkeytech/android_rivers/db/Podcast.kt
View
@@ -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
}
}
2  src/com/silverkeytech/android_rivers/db/SavedNewsItem.kt
View
@@ -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.