Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshlha committed Sep 18, 2023
1 parent 55125fc commit 0914fb4
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import net.miginfocom.swing.MigLayout
import javax.swing.JPanel
import javax.swing.JPopupMenu

abstract class LIstFilterPanel<T>(
abstract class ListFilterPanel<T>(
override val tabName: String,
toStringFn: Stringifier = { it?.toString() },
) : FilterPanel<T>() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package io.github.inductiveautomation.kindling.log

import io.github.inductiveautomation.kindling.core.LIstFilterPanel
import io.github.inductiveautomation.kindling.core.ListFilterPanel
import io.github.inductiveautomation.kindling.utils.Action
import io.github.inductiveautomation.kindling.utils.Column
import io.github.inductiveautomation.kindling.utils.FilterModel
import javax.swing.JPopupMenu

internal class ThreadPanel(events: List<LogEvent>) : LIstFilterPanel<LogEvent>("Thread") {
internal class ThreadPanel(events: List<LogEvent>) : ListFilterPanel<LogEvent>("Thread") {
init {
filterList.apply {
setModel(FilterModel(events.groupingBy { (it as SystemLogEvent).thread }.eachCount()))
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package io.github.inductiveautomation.kindling.thread

import io.github.inductiveautomation.kindling.core.LIstFilterPanel
import io.github.inductiveautomation.kindling.core.ListFilterPanel
import io.github.inductiveautomation.kindling.thread.model.Thread

class PoolPanel : LIstFilterPanel<Thread?>(
class PoolPanel : ListFilterPanel<Thread?>(
tabName = "Pool",
toStringFn = { it?.toString() ?: "(No Pool)" },
) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package io.github.inductiveautomation.kindling.thread

import io.github.inductiveautomation.kindling.core.LIstFilterPanel
import io.github.inductiveautomation.kindling.core.ListFilterPanel
import io.github.inductiveautomation.kindling.thread.model.Thread

class SystemPanel : LIstFilterPanel<Thread?>(
class SystemPanel : ListFilterPanel<Thread?>(
tabName = "System",
toStringFn = { it?.toString() ?: "Unassigned" },
) {
Expand Down

0 comments on commit 0914fb4

Please sign in to comment.