fixed a compilation issue stemming from Java 1.5 != 1.6 compatible. (that's twice i've been bitten by the Properties class supporting a completely obvious #store(writer, String) variant!

This commit is contained in:
Josh Long
2010-08-24 11:02:46 +00:00
parent b85ed0fe27
commit 245ae1d5fa

View File

@@ -1,6 +1,7 @@
package org.springframework.integration.twitter;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
@@ -15,11 +16,12 @@ import twitter4j.Twitter;
import java.util.Collection;
import javax.annotation.PostConstruct;
/**
* This class is used to simply demonstrating correctly factory-ing a {@link twitter4j.Twitter} instance
*
* @author Josh Long
*/
@ContextConfiguration(locations = "twitter_connection_using_ns.xml")
public class SimpleTwitterTestClient {
@@ -27,7 +29,7 @@ public class SimpleTwitterTestClient {
@Autowired
private volatile OAuthConfiguration oAuthConfiguration;
@PostConstruct
@Before
public void begin() throws Exception {
this.twitter = oAuthConfiguration.getTwitter();
}