Skip to content

Commit

Permalink
Accept suggestions from IDEA.
Browse files Browse the repository at this point in the history
  • Loading branch information
gyakkun committed Aug 29, 2024
1 parent 289a0b7 commit 2665663
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ compose.desktop {

packageVersion = project.version as String
description = "QQ Mht2html"
copyright = "(C) 2022-2023 gyakkun. Some rights reserved."
copyright = "(C) 2022-2024 gyakkun. Some rights reserved."
vendor = "gyakkun"
appResourcesRootDir.set(project.layout.projectDirectory.dir("resources"))
// includeAllModules = true
Expand Down
4 changes: 2 additions & 2 deletions src/main/kotlin/Main.kt
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ private fun App(windowScope: FrameWindowScope) {
modifier = Modifier.height(60.dp)
.weight(0.5F, false),
placeholder = {
Text("${DEFAULT_LINE_LIMIT}")
Text("$DEFAULT_LINE_LIMIT")
}
)
}
Expand Down Expand Up @@ -246,7 +246,7 @@ private fun App(windowScope: FrameWindowScope) {

}

suspend fun showInfoBar(
fun showInfoBar(
showAlert: MutableState<Boolean>?,
errMsg: MutableState<String>?,
msg: String,
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/Mht2Html.kt
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ class Mht2Html(
var htmlHeadTemplate: String
var globalStyleSheet: String
var startDateInUTC: Date
var firstLine: String = ""
var firstLine = ""
val outerLineCounter = AtomicInteger(0)

try {
Expand Down
1 change: 1 addition & 0 deletions src/main/kotlin/Sunday.kt
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ class Sunday(
}
}

@Suppress("MemberVisibilityCanBePrivate")
fun getNextOffSet(): Long {
if (rafOffSet >= raf.length()) return -1L
outer@
Expand Down

0 comments on commit 2665663

Please sign in to comment.