Skip to content

Commit cc8b43a

Browse files
author
Craig Walls
committed
Add @Inject to RealTimeUpdateController
1 parent 2b9be29 commit cc8b43a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

spring-social-facebook-web/src/main/java/org/springframework/social/facebook/web/RealTimeUpdateController.java

+2
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222

2323
import javax.crypto.Mac;
2424
import javax.crypto.spec.SecretKeySpec;
25+
import javax.inject.Inject;
2526

2627
import org.apache.commons.logging.Log;
2728
import org.apache.commons.logging.LogFactory;
@@ -64,6 +65,7 @@ public class RealTimeUpdateController {
6465
* @param updateHandlers A list of {@link UpdateHandler} implementations to handle incoming updates.
6566
* @param applicationSecret the application's Facebook App Secret
6667
*/
68+
@Inject
6769
public RealTimeUpdateController(Map<String, String> tokens, List<UpdateHandler> updateHandlers, String applicationSecret) {
6870
this.tokens = tokens;
6971
this.updateHandlers = updateHandlers;

0 commit comments

Comments
 (0)