Skip to content

Commit

Permalink
Fix code style violations
Browse files Browse the repository at this point in the history
  • Loading branch information
jon-hatfield authored and asturio committed Apr 10, 2024
1 parent a332a03 commit cc98249
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ public static void main(String[] args) {
String[][] names = bf.getFullFontName();
out.write("\n\nListing the full font name:\n\n");
for (String[] name : names) {
if (name[0].equals("3") && name[1].equals("1")) // Microsoft encoding
{
// Microsoft encoding
if (name[0].equals("3") && name[1].equals("1")) {
out.write(name[3] + "\r\n");
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public static void main(String[] args) {

private static void addUnverifiedSignature(boolean visible) {
try {
String visibility = visible == true ? "visible" : "invisible";
String visibility = visible ? "visible" : "invisible";
String description = "Document with " + visibility + " signature";
System.out.println(description);

Expand Down

0 comments on commit cc98249

Please sign in to comment.