Skip to content

Commit

Permalink
rename GHES settings for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienpessu committed Apr 10, 2024
1 parent 752fdf9 commit 70fb0a6
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ class SettingComponent {

init {
myMainPanel = FormBuilder.createFormBuilder()
.addLabeledComponent(JBLabel("GitHub PAT "), ghTokenText, 1, false)
.addLabeledComponent(JBLabel("GitHub.com PAT "), ghTokenText, 1, false)
.addSeparator()
.addLabeledComponent(JBLabel("GHE Hostname"), ghesHostnameText, 2, false)
.addLabeledComponent(JBLabel("GHE Token"), ghesTokenText, 3, false)
.addLabeledComponent(JBLabel("GHES Hostname"), ghesHostnameText, 2, false)

Check warning on line 21 in src/main/kotlin/com/github/adrienpessu/sarifviewer/configurable/SettingComponent.kt

View workflow job for this annotation

GitHub Actions / Qodana Community for JVM

Incorrect string capitalization

String 'GHES Hostname' is not properly capitalized. It should have sentence capitalization
.addLabeledComponent(JBLabel("GHES PAT"), ghesTokenText, 3, false)
.addComponentFillVertically(JPanel(), 0)
.getPanel()

Check notice on line 24 in src/main/kotlin/com/github/adrienpessu/sarifviewer/configurable/SettingComponent.kt

View workflow job for this annotation

GitHub Actions / Qodana Community for JVM

Accessor call that can be replaced with property access syntax

Use of getter method instead of property access syntax
}
Expand Down

0 comments on commit 70fb0a6

Please sign in to comment.