Skip to content

Commit

Permalink
Replace StringUtil.join with String.join.
Browse files Browse the repository at this point in the history
  • Loading branch information
leMaik committed Sep 24, 2024
1 parent 62b58b1 commit b32fedd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 35 deletions.
3 changes: 1 addition & 2 deletions chunky/src/java/se/llbit/chunky/main/CommandLineOptions.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
import se.llbit.json.PrettyPrinter;
import se.llbit.log.Log;
import se.llbit.util.mojangapi.MojangApi;
import se.llbit.util.StringUtil;
import se.llbit.util.TaskTracker;

import java.io.ByteArrayInputStream;
Expand Down Expand Up @@ -86,7 +85,7 @@ enum Mode {
/**
* This is the usage output generated for the --help flag.
*/
private static final String USAGE = StringUtil
private static final String USAGE = String
.join("\n", "Usage: mapLoader [OPTIONS] [WORLD DIRECTORY]", "Options:",
" -texture <FILE> use FILE as the texture pack (must be a Zip file)",
" -textures <FILES> use FILES as the texture packs (must be Zip files), ",
Expand Down
33 changes: 0 additions & 33 deletions chunky/src/java/se/llbit/util/StringUtil.java

This file was deleted.

0 comments on commit b32fedd

Please sign in to comment.