From c627c0667da39857c4bad274c52be3f135c8d962 Mon Sep 17 00:00:00 2001 From: ypl <7353755@gmail.com> Date: Tue, 23 Jun 2026 01:35:35 +0300 Subject: [PATCH] Shorten extractShortDescription comment Collapse the 5-line KDoc into a single line, matching the file's sparse comment style. Co-Authored-By: Claude Opus 4.8 (1M context) --- .../sefariasqlite/SefariaBookPayloadReader.kt | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/generator/sefariasqlite/src/jvmMain/kotlin/io/github/kdroidfilter/seforimlibrary/sefariasqlite/SefariaBookPayloadReader.kt b/generator/sefariasqlite/src/jvmMain/kotlin/io/github/kdroidfilter/seforimlibrary/sefariasqlite/SefariaBookPayloadReader.kt index 1362d0c0..ab90b20b 100644 --- a/generator/sefariasqlite/src/jvmMain/kotlin/io/github/kdroidfilter/seforimlibrary/sefariasqlite/SefariaBookPayloadReader.kt +++ b/generator/sefariasqlite/src/jvmMain/kotlin/io/github/kdroidfilter/seforimlibrary/sefariasqlite/SefariaBookPayloadReader.kt @@ -270,12 +270,7 @@ internal class SefariaBookPayloadReader( ?: schemaObj["heDescription"]?.stringOrNull() } - /** - * Sefaria's real one-line summary (`heShortDesc`), distinct from the long - * `heDesc` read by [extractDescription]. Kept separate so `book.heShortDesc` - * holds the summary and `book.heDesc` the full text — previously the long - * text was stored under `heShortDesc` and this field went unused. - */ + // Real one-line summary → book.heShortDesc (long text goes to heDesc via extractDescription). private fun extractShortDescription(schemaJson: JsonObject, schemaObj: JsonObject): String? { return schemaJson["heShortDesc"]?.stringOrNull() ?: schemaObj["heShortDesc"]?.stringOrNull()