Skip to content

Commit acecec6

Browse files
author
Ilya Brin
committed
mark collect as deprecated
1 parent 6bce684 commit acecec6

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

  • handlebars/src/main/java/com/github/jknack/handlebars

handlebars/src/main/java/com/github/jknack/handlebars/Template.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,10 @@ public List<Param> collectAllParameters() {
212212
*
213213
* @param tagType The tag type. Required.
214214
* @return A list with tag names.
215+
*
216+
* @deprecated Use {@link #collectWithParameters(TagType...)} instead.
215217
*/
218+
@Deprecated
216219
List<String> collect(TagType... tagType);
217220

218221
/**

0 commit comments

Comments
 (0)