#788 - Fixed obvious warning in all touched files.

* Fixed assertions.
* Removed superfluous code.
* Simplified generics.
* Formatting.
This commit is contained in:
Jens Schauder
2019-01-22 16:05:36 +01:00
committed by Greg Turnquist
parent 4081e58a1f
commit 9f4f1ad79b
27 changed files with 397 additions and 254 deletions

View File

@@ -58,7 +58,7 @@ public class Link implements Serializable {
private static final Pattern URI_AND_ATTRIBUTES_PATTERN = Pattern.compile("<(.*)>;(.*)");
private static final Pattern KEY_AND_VALUE_PATTERN = Pattern
.compile("(\\w+)=\"(\\p{Lower}[\\p{Lower}\\p{Digit}\\.\\-\\s]*|" + URI_PATTERN + ")\"");
.compile("(\\w+)=\"(\\p{Lower}[\\p{Lower}\\p{Digit}.\\-\\s]*|" + URI_PATTERN + ")\"");
public static final String ATOM_NAMESPACE = "http://www.w3.org/2005/Atom";