Details
Description
in org.apache.cxf.jaxrs.impl.ResponseImpl.getAllLinks() , we put link into a LinkedHashMap and use link.getRel() as key:
links.put(link.getRel(), link);
However, link.getRel() may return null, in such case, we will lose links if two links's rel is null.
See below javadoc for Link:
getRel()
Returns the value associated with the link rel param, or null if this param is not specified.