Skip to content

Commit

Permalink
BOOLEAN
Browse files Browse the repository at this point in the history
  • Loading branch information
UpcraftLP committed Feb 8, 2025
1 parent 2a343fe commit 38ffb33
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/org/quiltmc/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public static void main(String[] args) {
System.exit(1);
}

Boolean success = new Main().build();
boolean success = new Main().build();

if (!success) {
System.out.println("[ERROR] Failed to build meta. Please refer to the logs and report this to the Infrastructure team.");
Expand All @@ -64,7 +64,7 @@ public static void main(String[] args) {
System.exit(0);
}

public Boolean build() {
public boolean build() {
this.client = B2StorageClientFactory
.createDefaultFactory()
.create(Constants.B2_APP_KEY_ID, Constants.B2_APP_KEY, Constants.USER_AGENT);
Expand All @@ -76,7 +76,7 @@ public Boolean build() {
} catch (B2Exception | IOException e) {
e.printStackTrace();
System.err.println("[ERROR] Failed to get bucket ID for bucket " + Constants.B2_BUCKET);
return null;
return false;
}

try {
Expand Down

0 comments on commit 38ffb33

Please sign in to comment.