Skip to content

Commit bc34260

Browse files
authored
Update Zendesk.java
1 parent 0416b00 commit bc34260

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/main/java/org/zendesk/client/v2/Zendesk.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1939,6 +1939,7 @@ public Iterable<Translation> getArticleTranslations(Long articleId) {
19391939
tmpl("/help_center/articles/{articleId}/translations.json").set("articleId", articleId),
19401940
handleList(Translation.class, "translations"));
19411941
}
1942+
19421943
public Article createArticle(Article article) {
19431944
checkHasSectionId(article);
19441945
return complete(submit(req("POST", tmpl("/help_center/sections/{id}/articles.json").set("id", article.getSectionId()),
@@ -1979,16 +1980,18 @@ public void deleteArticle(Article article) {
19791980
complete(submit(req("DELETE", tmpl("/help_center/articles/{id}.json").set("id", article.getId())),
19801981
handleStatus()));
19811982
}
1983+
19821984
/**
1983-
* Delete translation
1985+
* Delete translation.
19841986
* @param translation
19851987
*/
19861988
public void deleteTranslation(Translation translation) {
19871989
checkHasId(translation);
19881990
deleteTranslation(translation.getId());
19891991
}
1992+
19901993
/**
1991-
* Delete translation
1994+
* Delete translation.
19921995
* @param translationId
19931996
*/
19941997
public void deleteTranslation(Long translationId) {

0 commit comments

Comments
 (0)