Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/main/java/org/woehlke/twitterwall/Application.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
TwitterwallSchedulerProperties.class,
TwitterProperties.class
})
//@EnableWebMvc
@EnableSpringDataWebSupport
@ImportResource("classpath:integration.xml")
public class Application {
Expand Down
44 changes: 0 additions & 44 deletions src/main/java/org/woehlke/twitterwall/conf/TwitterProperties.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,6 @@
@ConfigurationProperties(prefix="twitter")
public class TwitterProperties {

//@NotNull
private String accessToken;

//@NotNull
private String accessTokenSecret;

//@NotNull
private String consumerKey;

//@NotNull
private String consumerSecret;

@NotNull
private Integer pageSize;

Expand All @@ -33,38 +21,6 @@ public class TwitterProperties {
@NotNull
private String searchQuery;

public String getAccessToken() {
return accessToken;
}

public void setAccessToken(String accessToken) {
this.accessToken = accessToken;
}

public String getAccessTokenSecret() {
return accessTokenSecret;
}

public void setAccessTokenSecret(String accessTokenSecret) {
this.accessTokenSecret = accessTokenSecret;
}

public String getConsumerKey() {
return consumerKey;
}

public void setConsumerKey(String consumerKey) {
this.consumerKey = consumerKey;
}

public String getConsumerSecret() {
return consumerSecret;
}

public void setConsumerSecret(String consumerSecret) {
this.consumerSecret = consumerSecret;
}

public Integer getPageSize() {
return pageSize;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,6 @@ public class TwitterwallBackendProperties {

public static class Twitter {

//@NotNull
private String accessToken;

//@NotNull
private String accessTokenSecret;

//@NotNull
private String consumerKey;

//@NotNull
private String consumerSecret;

@NotNull
private Integer millisToWaitBetweenTwoApiCalls;

Expand All @@ -56,37 +44,6 @@ public void setMillisToWaitForFetchTweetsFromTwitterSearch(Integer millisToWaitF
this.millisToWaitForFetchTweetsFromTwitterSearch = millisToWaitForFetchTweetsFromTwitterSearch;
}

public String getAccessToken() {
return accessToken;
}

public void setAccessToken(String accessToken) {
this.accessToken = accessToken;
}

public String getAccessTokenSecret() {
return accessTokenSecret;
}

public void setAccessTokenSecret(String accessTokenSecret) {
this.accessTokenSecret = accessTokenSecret;
}

public String getConsumerKey() {
return consumerKey;
}

public void setConsumerKey(String consumerKey) {
this.consumerKey = consumerKey;
}

public String getConsumerSecret() {
return consumerSecret;
}

public void setConsumerSecret(String consumerSecret) {
this.consumerSecret = consumerSecret;
}
}

public static class Url {
Expand Down
Loading