(String prompt, String str)
| 43 | |
| 44 | |
| 45 | public static String prompt_and_validate_input(String prompt, String str){ |
| 46 | String user_input = JOptionPane.showInputDialog(prompt, str); |
| 47 | while(user_input.trim().equals("")){ |
| 48 | user_input = JOptionPane.showInputDialog(prompt, str); |
| 49 | } |
| 50 | return user_input.trim(); |
| 51 | } |
| 52 | |
| 53 | public static byte[] do_modify_request(byte[] request, int[] selectedIndex, String modifiedString){ |
| 54 | byte[] modString = modifiedString.getBytes(); |
no outgoing calls
no test coverage detected