Permalink
Browse files

Polish

  • Loading branch information...
1 parent fecb7dc commit e12e31afca2667add5e46fcf75e4dd7c597267b8 Craig Walls committed Aug 24, 2012
View
2 ...ebook-web/src/main/java/org/springframework/social/facebook/web/DisconnectController.java
@@ -49,7 +49,7 @@
/**
* Constructs a DisconnectController.
- * @param connectionRepository the current user's {@link ConnectionRepository} needed to persist connections; must be a proxy to a request-scoped bean
+ * @param usersConnectionRepository the current user's {@link UsersConnectionRepository} needed to persist connections; must be a proxy to a request-scoped bean
* @param applicationSecret the application's secret as assigned by Facebook at registration time. Used to validate signed_request.
*/
public DisconnectController(UsersConnectionRepository usersConnectionRepository, String applicationSecret) {
View
1 ...ebook-web/src/main/java/org/springframework/social/facebook/web/SignedRequestDecoder.java
@@ -87,6 +87,7 @@ public SignedRequestDecoder(String secret) {
}
}
+ @SuppressWarnings("rawtypes")
private String getAlgorithm(Object data) {
if (data instanceof Map) {
return (String) ((Map) data).get("algorithm");
View
1 ...cial-facebook/src/test/java/org/springframework/social/facebook/api/LikeTemplateTest.java
@@ -312,6 +312,7 @@ public void getGames_forSpecificUser_unauthorized() {
unauthorizedFacebook.likeOperations().getGames("123456789");
}
+ @SuppressWarnings("deprecation")
private void assertLikes(List<Page> likes) {
assertEquals(3, likes.size());
Page like1 = likes.get(0);
View
1 ...c/test/java/org/springframework/social/facebook/api/LikeTemplate_PreOctober2012_Test.java
@@ -292,6 +292,7 @@ public void getInterests_forSpecificUser_unauthorized() {
unauthorizedFacebook.likeOperations().getInterests("123456789");
}
+ @SuppressWarnings("deprecation")
private void assertLikes(List<Page> likes) {
assertEquals(3, likes.size());
Page like1 = likes.get(0);
View
3 ...cial-facebook/src/test/java/org/springframework/social/facebook/api/PageTemplateTest.java
@@ -34,6 +34,7 @@
public class PageTemplateTest extends AbstractFacebookApiTest {
@Test
+ @SuppressWarnings("deprecation")
public void getPage_organization() {
mockServer.expect(requestTo("https://graph.facebook.com/140804655931206"))
.andExpect(method(GET))
@@ -51,6 +52,7 @@ public void getPage_organization() {
}
@Test
+ @SuppressWarnings("deprecation")
public void getPage_product() {
mockServer.expect(requestTo("https://graph.facebook.com/21278871488"))
.andExpect(method(GET))
@@ -68,6 +70,7 @@ public void getPage_product() {
}
@Test
+ @SuppressWarnings("deprecation")
public void getPage_place() {
mockServer.expect(requestTo("https://graph.facebook.com/150263434985489"))
.andExpect(method(GET))

0 comments on commit e12e31a

Please sign in to comment.