Sonar fixes

pull/45/head
Richard Körber 2017-11-04 13:05:20 +01:00
parent e4d7666d5f
commit 488c54fff0
2 changed files with 4 additions and 2 deletions

View File

@ -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;

View File

@ -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() {