Skip to content

Commit

Permalink
Minor: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
svtk committed Jun 7, 2016
1 parent 29a5785 commit 88fa482
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/kotlin/serialization/Serializer.kt
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ private fun StringBuilder.serializeObjectWithoutAnnotation(obj: Any) {
val kClass = obj.javaClass.kotlin
val properties = kClass.memberProperties

properties.joinToStringBuilder(this, prefix = "{", postfix = "}") {
prop ->
properties.joinToStringBuilder(this, prefix = "{", postfix = "}") { prop ->
serializeString(prop.name)
append(": ")
serializePropertyValue(prop.get(obj))
Expand Down

0 comments on commit 88fa482

Please sign in to comment.