Skip to content

Commit 1ec19d8

Browse files
fixed #146
1 parent f14924a commit 1ec19d8

File tree

2 files changed

+0
-87
lines changed

2 files changed

+0
-87
lines changed

src/main/java/org/woehlke/twitterwall/conf/TwitterProperties.java

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,6 @@
1212
@ConfigurationProperties(prefix="twitter")
1313
public class TwitterProperties {
1414

15-
//@NotNull
16-
private String accessToken;
17-
18-
//@NotNull
19-
private String accessTokenSecret;
20-
21-
//@NotNull
22-
private String consumerKey;
23-
24-
//@NotNull
25-
private String consumerSecret;
26-
2715
@NotNull
2816
private Integer pageSize;
2917

@@ -33,38 +21,6 @@ public class TwitterProperties {
3321
@NotNull
3422
private String searchQuery;
3523

36-
public String getAccessToken() {
37-
return accessToken;
38-
}
39-
40-
public void setAccessToken(String accessToken) {
41-
this.accessToken = accessToken;
42-
}
43-
44-
public String getAccessTokenSecret() {
45-
return accessTokenSecret;
46-
}
47-
48-
public void setAccessTokenSecret(String accessTokenSecret) {
49-
this.accessTokenSecret = accessTokenSecret;
50-
}
51-
52-
public String getConsumerKey() {
53-
return consumerKey;
54-
}
55-
56-
public void setConsumerKey(String consumerKey) {
57-
this.consumerKey = consumerKey;
58-
}
59-
60-
public String getConsumerSecret() {
61-
return consumerSecret;
62-
}
63-
64-
public void setConsumerSecret(String consumerSecret) {
65-
this.consumerSecret = consumerSecret;
66-
}
67-
6824
public Integer getPageSize() {
6925
return pageSize;
7026
}

src/main/java/org/woehlke/twitterwall/conf/TwitterwallBackendProperties.java

Lines changed: 0 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,6 @@ public class TwitterwallBackendProperties {
2222

2323
public static class Twitter {
2424

25-
//@NotNull
26-
private String accessToken;
27-
28-
//@NotNull
29-
private String accessTokenSecret;
30-
31-
//@NotNull
32-
private String consumerKey;
33-
34-
//@NotNull
35-
private String consumerSecret;
36-
3725
@NotNull
3826
private Integer millisToWaitBetweenTwoApiCalls;
3927

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

59-
public String getAccessToken() {
60-
return accessToken;
61-
}
62-
63-
public void setAccessToken(String accessToken) {
64-
this.accessToken = accessToken;
65-
}
66-
67-
public String getAccessTokenSecret() {
68-
return accessTokenSecret;
69-
}
70-
71-
public void setAccessTokenSecret(String accessTokenSecret) {
72-
this.accessTokenSecret = accessTokenSecret;
73-
}
74-
75-
public String getConsumerKey() {
76-
return consumerKey;
77-
}
78-
79-
public void setConsumerKey(String consumerKey) {
80-
this.consumerKey = consumerKey;
81-
}
82-
83-
public String getConsumerSecret() {
84-
return consumerSecret;
85-
}
86-
87-
public void setConsumerSecret(String consumerSecret) {
88-
this.consumerSecret = consumerSecret;
89-
}
9047
}
9148

9249
public static class Url {

0 commit comments

Comments
 (0)