Skip to content

Commit 45cbade

Browse files
Merge pull request #133 from phasenraum2010/master
bugfixes
2 parents 4b71db2 + 5130708 commit 45cbade

15 files changed

+53
-24
lines changed

src/main/java/org/woehlke/twitterwall/frontend/controller/CountedEntitiesController.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
@RequestMapping(path="/application/countedEntities")
1515
public class CountedEntitiesController {
1616

17-
private final static String PATH="/application/countedEntities";
17+
private final static String PATH="application/countedEntities";
1818

1919

2020
@RequestMapping(path="/tweet/hashtag")
@@ -93,7 +93,7 @@ private void setUpThisPage(String title,Model model){
9393
String symbol = Symbols.DATABASE.toString();
9494
model = controllerHelper.setupPage(model,title,subtitle,symbol);
9595
}
96-
96+
9797

9898
@Autowired
9999
public CountedEntitiesController(ControllerHelper controllerHelper) {

src/main/java/org/woehlke/twitterwall/frontend/controller/DomainController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public String domainCount(Model model) {
2727
model = controllerHelper.setupPage(model,title,subtitle,symbol);
2828
CountedEntities countedEntities =this.countedEntitiesService.countAll();
2929
model.addAttribute("countedEntities", countedEntities);
30-
return "/application/domain/count";
30+
return "application/domain/count";
3131
}
3232

3333
private final CountedEntitiesService countedEntitiesService;

src/main/java/org/woehlke/twitterwall/frontend/controller/HashTagController.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public String getAll(@RequestParam(name= "page" ,defaultValue=""+ FIRST_PAGE_NUM
4949
Pageable pageRequest = new PageRequest(page, twitterwallFrontendProperties.getPageSize(), Sort.Direction.ASC,"text");
5050
Page<HashTag> myPageContent = hashTagService.getAll(pageRequest);
5151
model.addAttribute("myPageContent",myPageContent);
52-
return "/hashtag/all";
52+
return "hashtag/all";
5353
}
5454

5555
@RequestMapping(path="/{text}")
@@ -86,11 +86,11 @@ public String hashTagFromTweetsAndUsers(
8686
model.addAttribute("users", users);
8787
//
8888
log.debug(msg + " READY - DONE");
89-
return "/hashtag/hashtagText";
89+
return "hashtag/hashtagText";
9090
} else {
9191
String msg2 = msg + " parameter ist NOT valid";
9292
log.warn(msg2);
93-
return "/hashtag/hashtagText";
93+
return "hashtag/hashtagText";
9494
}
9595
}
9696

@@ -143,7 +143,7 @@ public String hashTagsOverview(Model model) {
143143
}
144144
model.addAttribute("hashTagsTweets", hashTagsTweets);
145145
model.addAttribute("hashTagsUsers", hashTagsUsers);
146-
return "/hashtag/overview";
146+
return "hashtag/overview";
147147
}
148148

149149
private static final Logger log = LoggerFactory.getLogger(HashTagController.class);

src/main/java/org/woehlke/twitterwall/frontend/controller/MediaController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public String getAll(@RequestParam(name= "page" ,defaultValue=""+ ControllerHelp
3434
Pageable pageRequest = new PageRequest(page, twitterwallFrontendProperties.getPageSize(), Sort.Direction.ASC,"url");
3535
Page<Media> myPageContent = mediaService.getAll(pageRequest);
3636
model.addAttribute("myPageContent",myPageContent);
37-
return "/media/all";
37+
return "media/all";
3838
}
3939

4040
private final MediaService mediaService;

src/main/java/org/woehlke/twitterwall/frontend/controller/MentionController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public String getAll(@RequestParam(name= "page" ,defaultValue=""+ ControllerHelp
3333
Pageable pageRequest = new PageRequest(page, twitterwallFrontendProperties.getPageSize(), Sort.Direction.ASC,"screenName");
3434
Page<Mention> myPageContent = mentionService.getAll(pageRequest);
3535
model.addAttribute("myPageContent",myPageContent);
36-
return "/mention/all";
36+
return "mention/all";
3737
}
3838

3939
private final TwitterwallFrontendProperties twitterwallFrontendProperties;

src/main/java/org/woehlke/twitterwall/frontend/controller/TaskController.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public String fetchTweetsFromTwitterSearchRequest(Model model) {
7272
String symbol = Symbols.TASK.toString();
7373
model = controllerHelper.setupPage(model,title,subtitle,symbol);
7474
this.fetchTweetsFromTwitterSearch();
75-
return "/scheduled/taskStarted";
75+
return "scheduled/taskStarted";
7676
}
7777

7878
@RequestMapping(path="/scheduled/tweets/update")
@@ -84,7 +84,7 @@ public String updateTweetsRequest(Model model) {
8484
String symbol = Symbols.TASK.toString();
8585
model = controllerHelper.setupPage(model,title,subtitle,symbol);
8686
this.updateTweets();
87-
return "/scheduled/taskStarted";
87+
return "scheduled/taskStarted";
8888
}
8989

9090
@RequestMapping(path="/scheduled/users/list/fetch")
@@ -96,7 +96,7 @@ public String fetchUsersFromDefinedUserListRequest(Model model){
9696
String symbol = Symbols.TASK.toString();
9797
model = controllerHelper.setupPage(model,title,subtitle,symbol);
9898
this.fetchUsersFromDefinedUserList();
99-
return "/scheduled/taskStarted";
99+
return "scheduled/taskStarted";
100100
}
101101

102102
@RequestMapping(path="/scheduled/users/mentions/update")
@@ -108,7 +108,7 @@ public String updateUserProfilesFromMentionsRequest(Model model){
108108
String symbol = Symbols.TASK.toString();
109109
model = controllerHelper.setupPage(model,title,subtitle,symbol);
110110
this.updateUserProfilesFromMentions();
111-
return "/scheduled/taskStarted";
111+
return "scheduled/taskStarted";
112112
}
113113

114114
@RequestMapping(path="/scheduled/users/update")
@@ -120,7 +120,7 @@ public String updateUserProfilesRequest(Model model) {
120120
String symbol = Symbols.TASK.toString();
121121
model = controllerHelper.setupPage(model,title,subtitle,symbol);
122122
this.updateUserProfiles();
123-
return "/scheduled/taskStarted";
123+
return "scheduled/taskStarted";
124124
}
125125

126126
@Async

src/main/java/org/woehlke/twitterwall/frontend/controller/TaskHistoryController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
@RequestMapping(path="/taskhistory")
2424
public class TaskHistoryController {
2525

26-
private final static String PATH="/taskhistory";
26+
private final static String PATH="taskhistory";
2727

2828
@RequestMapping(path="/all")
2929
public String getAll(@RequestParam(name= "page" ,defaultValue=""+ ControllerHelper.FIRST_PAGE_NUMBER) int page, Model model){

src/main/java/org/woehlke/twitterwall/frontend/controller/TestController.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public String getTestData(Model model) {
4141
model.addAttribute("latestTweets",null);
4242
model.addAttribute("users",null);
4343
}
44-
return "/test/getTestData";
44+
return "test/getTestData";
4545
}
4646

4747
@RequestMapping("/user/onlist/renew")
@@ -56,7 +56,7 @@ public String getOnListRenew(@RequestParam(name= "page" ,defaultValue=""+ Contro
5656
String symbol = Symbols.LEAF.toString();
5757
String title = "Renew List of Users On List";
5858
model = controllerHelper.setupPage(model, title, "Users", symbol);
59-
return "/test/user/onlist/renew";
59+
return "test/user/onlist/renew";
6060
}
6161

6262
private static final Logger log = LoggerFactory.getLogger(TestController.class);

src/main/java/org/woehlke/twitterwall/frontend/controller/TickerSymbolController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
@RequestMapping("/tickersymbol")
2424
public class TickerSymbolController {
2525

26-
private final static String PATH="/tickersymbol";
26+
private final static String PATH="tickersymbol";
2727

2828
@RequestMapping(path="/all")
2929
public String getAll(@RequestParam(name= "page" ,defaultValue=""+ ControllerHelper.FIRST_PAGE_NUMBER) int page, Model model){

src/main/java/org/woehlke/twitterwall/frontend/controller/UrlCacheController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
@RequestMapping("/urlcache")
2424
public class UrlCacheController {
2525

26-
private final static String PATH="/urlcache";
26+
private final static String PATH="urlcache";
2727

2828
@RequestMapping(path="/all")
2929
public String getAll(@RequestParam(name= "page" ,defaultValue=""+ControllerHelper.FIRST_PAGE_NUMBER) int page, Model model){

0 commit comments

Comments
 (0)