mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-11 21:12:43 +00:00
Avoid UnsupportedEncodingException by design, replacing magic string "UTF-8" with StandardCharsets.UTF_8 (#18851)
* Replace magic string "UTF-8" with StandardCharsets.UTF_8 This avoids an UnsupportedEncodingException by design. * Remove unused UnsupportedCharsetException import
This commit is contained in:
@@ -22,8 +22,6 @@ import java.net.URI;
|
||||
import java.util.Map;
|
||||
import java.util.List;
|
||||
|
||||
import java.io.UnsupportedEncodingException;
|
||||
|
||||
public class HttpBasicAuth implements Authentication {
|
||||
private String username;
|
||||
private String password;
|
||||
|
||||
Reference in New Issue
Block a user