Permalink
Browse files

Merge pull request #73 from gcheng/linkinfo

remove linkinfo properties to address forward compatibility issue
  • Loading branch information...
2 parents a882a64 + 67f183d commit a41d809588fb68459af9fab0e5be7f6a0385c5c2 Albert Cheng committed Jan 4, 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 a41d809

Please sign in to comment.