Skip to content

Commit

Permalink
Change: Rust側を信頼するように
Browse files Browse the repository at this point in the history
  • Loading branch information
sevenc-nanashi committed Nov 6, 2023
1 parent 7265ccf commit 525ef2d
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,7 @@ public class GlobalInfo extends Dll {
*/
@Nonnull
public static String getVersion() {
String version = rsGetVersion();
if (version == null) {
throw new NullPointerException("version");
}
return version;
return rsGetVersion();
}

/**
Expand Down

0 comments on commit 525ef2d

Please sign in to comment.