aboutsummaryrefslogtreecommitdiff
path: root/src/Formats/StructuredFormatService.kt
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-03-02 14:35:47 +0100
committerDmitry Jemerov <yole@jetbrains.com>2015-03-02 14:35:47 +0100
commit7170d6337fc25b34adbb904432a116a0cca41cad (patch)
treed357daa5706a2c24dbb2ac66645ee3d5574b99bf /src/Formats/StructuredFormatService.kt
parentcad221f454adceb12d74fc563788b3d8247e44f6 (diff)
downloaddokka-7170d6337fc25b34adbb904432a116a0cca41cad.tar.gz
dokka-7170d6337fc25b34adbb904432a116a0cca41cad.tar.bz2
dokka-7170d6337fc25b34adbb904432a116a0cca41cad.zip
fix some warnings
Diffstat (limited to 'src/Formats/StructuredFormatService.kt')
-rw-r--r--src/Formats/StructuredFormatService.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Formats/StructuredFormatService.kt b/src/Formats/StructuredFormatService.kt
index be647e49..41deeed0 100644
--- a/src/Formats/StructuredFormatService.kt
+++ b/src/Formats/StructuredFormatService.kt
@@ -219,9 +219,9 @@ public abstract class StructuredFormatService(locationService: LocationService,
val breakdownBySummary = members.groupBy { formatText(location, it.summary) }
for ((summary, items) in breakdownBySummary) {
val signatureTexts = items map { signature ->
- val signature = languageService.render(signature, RenderMode.SUMMARY)
+ val signatureText = languageService.render(signature, RenderMode.SUMMARY)
val signatureAsCode = ContentCode()
- signatureAsCode.append(signature)
+ signatureAsCode.append(signatureText)
formatText(location, signatureAsCode)
}
signatureTexts.subList(0, signatureTexts.size()-1).forEach {