Skip to content
This repository was archived by the owner on Aug 18, 2024. It is now read-only.

Commit fa322f4

Browse files
committed
clean code
1 parent 8be59d3 commit fa322f4

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

src/main/java/com/pistacium/modcheck/ModCheckFrame.java

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -84,19 +84,17 @@ private void initHeaderLayout() {
8484
}
8585
});
8686
JButton fnqButton = new JButton("?");
87-
fnqButton.addActionListener(e -> {
88-
JOptionPane.showMessageDialog(this, "<html><body>" +
89-
"You can download to multiple instances at once<br>by using wildcard(*) in the instance path." +
90-
"<br><br>" +
91-
"The wildcard(*) string can be used only once<br>and can only be used in the last path." +
92-
"<br><br>" +
93-
"Examples)<br>" +
94-
"'..\\AppData\\Roaming\\*'<br>" +
95-
"'..\\AppData\\Roaming\\.mine*'<br>" +
96-
"'..\\AppData\\Roaming\\*craft'<br>" +
97-
"'..\\AppData\\Roaming\\.min*ft'" +
98-
"</body></html>");
99-
});
87+
fnqButton.addActionListener(e -> JOptionPane.showMessageDialog(this, "<html><body>" +
88+
"You can download to multiple instances at once<br>by using wildcard(*) in the instance path." +
89+
"<br><br>" +
90+
"The wildcard(*) string can be used only once<br>and can only be used in the last path." +
91+
"<br><br>" +
92+
"Examples)<br>" +
93+
"'..\\AppData\\Roaming\\*'<br>" +
94+
"'..\\AppData\\Roaming\\.mine*'<br>" +
95+
"'..\\AppData\\Roaming\\*craft'<br>" +
96+
"'..\\AppData\\Roaming\\.min*ft'" +
97+
"</body></html>"));
10098

10199
instanceSelectPanel.add(headerLabel);
102100
instanceSelectPanel.add(pathField);

0 commit comments

Comments
 (0)