Permalink
Browse files

remove linkinfo properties

  • Loading branch information...
1 parent a882a64 commit 67f183da117447e855f961caa4041449af900e5d Albert Cheng committed Jan 3, 2013
@@ -32,38 +32,11 @@ public LinkInfo(LinkType rawLink) {
}
/**
- * Get link rel
- *
- * @return the rel
- */
- public String getRel() {
- return rawLink.getRel();
- }
-
- /**
- * Get link type
- *
- * @return the type
- */
- public String getType() {
- return rawLink.getType();
- }
-
- /**
* Get link href
*
* @return the href
*/
public String getHref() {
return rawLink.getHref();
}
-
- /**
- * Get link title
- *
- * @return the title
- */
- public String getTitle() {
- return rawLink.getTitle();
- }
}
@@ -106,9 +106,6 @@ public void getLinksReturnsTwoExpectedLinksInOrder() {
}
private static void assertLinksEqual(LinkType expected, LinkInfo actual) {
- assertEquals(expected.getTitle(), actual.getTitle());
- assertEquals(expected.getRel(), actual.getRel());
assertEquals(expected.getHref(), actual.getHref());
- assertEquals(expected.getType(), actual.getType());
}
}

0 comments on commit 67f183d

Please sign in to comment.