This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class NullEmptyStringDemo { | |
| public static void main(String[] args) { | |
| ApiClient apiClient = new ApiClient(); | |
| // throws IllegalArgumentException, but note that we don't have to catch it | |
| apiClient.getItemAsync("", ""); | |
| } | |
| public static class ApiClient { | |
| // Simulate a similar call in ApiClient |