mirror of https://github.com/shred/acme4j
Sonar fixes
parent
e4d7666d5f
commit
488c54fff0
|
@ -53,7 +53,9 @@ public class Problem implements Serializable {
|
|||
}
|
||||
|
||||
/**
|
||||
* Returns the problem as {@link JSON} object, to access other fields.
|
||||
* Returns the problem object, to access custom fields.
|
||||
*
|
||||
* @return Problem, as {@link JSON} object
|
||||
*/
|
||||
public JSON asJSON() {
|
||||
return problemJson;
|
||||
|
|
|
@ -51,7 +51,7 @@ public final class AcmeUtils {
|
|||
private static final Pattern TZ_PATTERN = Pattern.compile(
|
||||
"([+-])(\\d{2}):?(\\d{2})$");
|
||||
|
||||
private final static Pattern CONTENT_TYPE_PATTERN = Pattern.compile(
|
||||
private static final Pattern CONTENT_TYPE_PATTERN = Pattern.compile(
|
||||
"([^;]+)(?:;.*?charset=(\"?)([a-z0-9_-]+)(\\2))?.*", Pattern.CASE_INSENSITIVE);
|
||||
|
||||
private AcmeUtils() {
|
||||
|
|
Loading…
Reference in New Issue