Move sequence operation classification higher than sample

Otherwise it gets eaten by that @sample tag.
This commit is contained in:
Ilya Gorbunov
2018-04-20 22:33:55 +03:00
parent 908d2d6975
commit 5381d0ed58
2 changed files with 48 additions and 48 deletions
@@ -305,14 +305,14 @@ class MemberBuilder(
StringReader(methodDoc.trim()).forEachLine { line ->
builder.append(" * ").append(line.trim()).append("\n")
}
if (samples.any()) {
builder.append(" * \n")
samples.forEach { builder.append(" * @sample $it\n")}
}
if (family == Sequences && sequenceClassification.isNotEmpty()) {
builder.append(" *\n")
builder.append(" * The operation is ${sequenceClassification.joinToString(" and ") { "_${it}_" }}.\n")
}
if (samples.any()) {
builder.append(" * \n")
samples.forEach { builder.append(" * @sample $it\n")}
}
builder.append(" */\n")
}