Skip to content

Commit

Permalink
Switch all mains to vararg
Browse files Browse the repository at this point in the history
  • Loading branch information
ThexXTURBOXx committed Aug 26, 2021
1 parent 6a0902f commit 9f27ec5
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class BaksmaliCmd extends BaseCmd {
+ "$current_dir/[jar-name]-out/", argName = "out")
private Path output;

public static void main(String[] args) {
public static void main(String... args) {
new BaksmaliCmd().doMain(args);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class SmaliCmd extends BaseCmd {
@Opt(opt = "-", hasArg = false, description = "read smali from stdin")
private boolean readSmaliFromStdin;

public static void main(String[] args) {
public static void main(String... args) {
new SmaliCmd().doMain(args);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ private WebApp() {
/**
*
*/
public static void main(String[] args) throws IOException {
public static void main(String... args) throws IOException {
if (args.length < 2) {
System.out.println("webapp pathToWebApp config [ignoreJarConfig]");
return;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ private BinGen() {
/**
*
*/
public static void main(String[] args) throws IOException {
public static void main(String... args) throws IOException {
if (args.length < 2) {
System.err.println("bin-gen cfg-dir out-dir");
return;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ public void visitEnd() {

}

public static void main(String[] args) {
public static void main(String... args) {
new DexWeaverCmd().doMain(args);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ protected void doCommandLine() throws Exception {
}
}

public static void main(String[] args) {
public static void main(String... args) {
new JarWeaverCmd().doMain(args);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ private Do() {
/**
*
*/
public static void main(String[] args) {
public static void main(String... args) {
System.out.println("This is not supported!");
}

Expand Down

0 comments on commit 9f27ec5

Please sign in to comment.