File tree Expand file tree Collapse file tree 3 files changed +4
-44
lines changed
src/main/kotlin/spp/protocol/artifact Expand file tree Collapse file tree 3 files changed +4
-44
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1616 */
1717package spp.protocol.artifact.log
1818
19- import spp.protocol.artifact.OrderType
20-
2119/* *
22- * todo: description .
20+ * Represents a known order type for sorting logs .
2321 *
2422 * @since 0.2.0
2523 * @author [Brandon Fergerson](mailto:bfergerson@apache.org)
2624 */
27- enum class LogOrderType : OrderType {
25+ enum class LogOrderType {
2826 NEWEST_LOGS ,
2927 OLDEST_LOGS ;
30-
31- // todo: not need to replace _LOGS?
32- val id = name.replace(" _LOGS" , " " ).toLowerCase()
33- override val description = id.toLowerCase().capitalize()
3428}
Original file line number Diff line number Diff line change 1616 */
1717package spp.protocol.artifact.trace
1818
19- import spp.protocol.artifact.OrderType
20-
2119/* *
22- * todo: description .
20+ * Represents a known order type for sorting traces .
2321 *
2422 * @since 0.1.0
2523 * @author [Brandon Fergerson](mailto:bfergerson@apache.org)
2624 */
27- enum class TraceOrderType : OrderType {
25+ enum class TraceOrderType {
2826 LATEST_TRACES ,
2927 SLOWEST_TRACES ,
3028 FAILED_TRACES ;
31-
32- // todo: not need to replace _TRACES?
33- val id = name.replace(" _TRACES" , " " ).toLowerCase()
34- override val description = id.toLowerCase().capitalize()
35- val fullDescription = name.toLowerCase().split(" _" ).joinToString(" " ) { it.capitalize() }
3629}
You can’t perform that action at this time.
0 commit comments