Permalink
Browse files

remove unused properties.

  • Loading branch information...
1 parent a882a64 commit b515da0f3276c0bc68c569ebb1e78bba6872419e Albert Cheng committed Jan 3, 2013
View
27 ...ft-azure-api/src/main/java/com/microsoft/windowsazure/services/media/models/LinkInfo.java
@@ -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();
- }
}
View
3 ...test/java/com/microsoft/windowsazure/services/media/implementation/LinkRetrievalTest.java
@@ -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 b515da0

Please sign in to comment.