Skip to content

Commit 110cb7e

Browse files
Y-PLONIclaude
andcommitted
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) <noreply@anthropic.com>
1 parent 7a262a6 commit 110cb7e

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

‎generator/sefariasqlite/src/jvmMain/kotlin/io/github/kdroidfilter/seforimlibrary/sefariasqlite/SefariaBookPayloadReader.kt‎

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -270,12 +270,7 @@ internal class SefariaBookPayloadReader(
270270
?: schemaObj["heDescription"]?.stringOrNull()
271271
}
272272

273-
/**
274-
* Sefaria's real one-line summary (`heShortDesc`), distinct from the long
275-
* `heDesc` read by [extractDescription]. Kept separate so `book.heShortDesc`
276-
* holds the summary and `book.heDesc` the full text — previously the long
277-
* text was stored under `heShortDesc` and this field went unused.
278-
*/
273+
// Real one-line summary → book.heShortDesc (long text goes to heDesc via extractDescription).
279274
private fun extractShortDescription(schemaJson: JsonObject, schemaObj: JsonObject): String? {
280275
return schemaJson["heShortDesc"]?.stringOrNull()
281276
?: schemaObj["heShortDesc"]?.stringOrNull()

0 commit comments

Comments
 (0)