File tree Expand file tree Collapse file tree
framework/src/main/java/org/tron/program
platform/src/main/java/common/org/tron/common/arch
plugins/src/main/java/org/tron/plugins Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -93,7 +93,8 @@ public static org.iq80.leveldb.Options newDefaultLevelDbOptions() {
9393
9494 public static void main (String [] args ) {
9595 if (Arch .isArm64 ()) {
96- String tips = String .format ("This tool is not supported on %s platform." , Arch .getOsArch ());
96+ String tips = String .format ("This tool is not supported on %s architecture." ,
97+ Arch .getOsArch ());
9798 System .err .println (tips );
9899 logger .error (tips );
99100 return ;
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ public static boolean isArm64() {
6060
6161 public static void throwUnsupportedArm64Exception () {
6262 if (isArm64 ()) {
63- throw new UnsupportedOperationException ("Unsupported OS: " + getOsArch ());
63+ throw new UnsupportedOperationException ("unsupported on " + getOsArch () + " architecture" );
6464 }
6565 }
6666}
Original file line number Diff line number Diff line change @@ -59,8 +59,8 @@ public class DbConvert implements Callable<Integer> {
5959 @ Override
6060 public Integer call () throws Exception {
6161 if (Arch .isArm64 ()) {
62- String tips = String .format (
63- "This command is not supported on %s platform." , Arch .getOsArch ());
62+ String tips = String .format ("This command is not supported on %s architecture." ,
63+ Arch .getOsArch ());
6464 spec .commandLine ().getErr ().println (spec .commandLine ().getColorScheme ().errorText (tips ));
6565 logger .error (tips );
6666 return 1 ;
You can’t perform that action at this time.
0 commit comments