spi/src/main/java/org/hobsoft/microbrowser/spi/AbstractHypermedia.java
public final Link getLink(String rel)
	{
		List<Link> links = getLinks(rel);
		
		if (links.isEmpty())
		{
			throw new LinkNotFoundException(rel);
		}
		
		return links.get(0);
	}
public final Link getLink(String rel)
	{
		List<Link> links = getLinks(rel);
		
		if (links.isEmpty())
		{
			throw new LinkNotFoundException(rel);
		}
		
		return links.get(0);
	}
----------------------------------------------------------------------------------------------------------------