@@ -2899,26 +2899,26 @@ public List<String> getHelpCenterLocales() {
28992899 */
29002900 public Iterable <Article > getArticles () {
29012901 return new PagedIterable <>(
2902- cnst ("/help_center/articles.json" ), handleList (Article .class , "articles" ));
2902+ cbp ("/help_center/articles.json" ), handleList (Article .class , "articles" ));
29032903 }
29042904
29052905 public Iterable <Article > getArticles (String locale ) {
29062906 return new PagedIterable <>(
2907- tmpl ("/help_center/{locale}/articles.json" ).set ("locale" , locale ),
2907+ cbp ("/help_center/{locale}/articles.json" ).set ("locale" , locale ),
29082908 handleList (Article .class , "articles" ));
29092909 }
29102910
29112911 public Iterable <Article > getArticles (Category category ) {
29122912 checkHasId (category );
29132913 return new PagedIterable <>(
2914- tmpl ("/help_center/categories/{id}/articles.json" ).set ("id" , category .getId ()),
2914+ cbp ("/help_center/categories/{id}/articles.json" ).set ("id" , category .getId ()),
29152915 handleList (Article .class , "articles" ));
29162916 }
29172917
29182918 public Iterable <Article > getArticles (Category category , String locale ) {
29192919 checkHasId (category );
29202920 return new PagedIterable <>(
2921- tmpl ("/help_center/{locale}/categories/{id}/articles.json" )
2921+ cbp ("/help_center/{locale}/categories/{id}/articles.json" )
29222922 .set ("id" , category .getId ())
29232923 .set ("locale" , locale ),
29242924 handleList (Article .class , "articles" ));
@@ -2927,14 +2927,14 @@ public Iterable<Article> getArticles(Category category, String locale) {
29272927 public Iterable <Article > getArticles (Section section ) {
29282928 checkHasId (section );
29292929 return new PagedIterable <>(
2930- tmpl ("/help_center/sections/{id}/articles.json" ).set ("id" , section .getId ()),
2930+ cbp ("/help_center/sections/{id}/articles.json" ).set ("id" , section .getId ()),
29312931 handleList (Article .class , "articles" ));
29322932 }
29332933
29342934 public Iterable <Article > getArticles (Section section , String locale ) {
29352935 checkHasId (section );
29362936 return new PagedIterable <>(
2937- tmpl ("/help_center/{locale}/sections/{id}/articles.json" )
2937+ cbp ("/help_center/{locale}/sections/{id}/articles.json" )
29382938 .set ("id" , section .getId ())
29392939 .set ("locale" , locale ),
29402940 handleList (Article .class , "articles" ));
@@ -2963,7 +2963,7 @@ public Article getArticle(long id) {
29632963
29642964 public Iterable <Translation > getArticleTranslations (Long articleId ) {
29652965 return new PagedIterable <>(
2966- tmpl ("/help_center/articles/{articleId}/translations.json" ).set ("articleId" , articleId ),
2966+ cbp ("/help_center/articles/{articleId}/translations.json" ).set ("articleId" , articleId ),
29672967 handleList (Translation .class , "translations" ));
29682968 }
29692969
0 commit comments