From f9f5aee2316d1b2f002f0e9ca925c9375dc88353 Mon Sep 17 00:00:00 2001 From: Volodymyr Meshchanynets Date: Wed, 24 Aug 2022 14:14:39 +0200 Subject: [PATCH] Remove name collision avoidance comment in javadoc for CodeBlock --- src/main/java/com/squareup/javapoet/CodeBlock.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/squareup/javapoet/CodeBlock.java b/src/main/java/com/squareup/javapoet/CodeBlock.java index 02542f58b..a3aff551f 100644 --- a/src/main/java/com/squareup/javapoet/CodeBlock.java +++ b/src/main/java/com/squareup/javapoet/CodeBlock.java @@ -42,7 +42,7 @@ *
  • {@code $L} emits a literal value with no escaping. Arguments for literals may be * strings, primitives, {@linkplain TypeSpec type declarations}, {@linkplain AnnotationSpec * annotations} and even other code blocks. - *
  • {@code $N} emits a name, using name collision avoidance where necessary. Arguments + *
  • {@code $N} emits a name. Arguments * for names may be strings (actually any {@linkplain CharSequence character sequence}), * {@linkplain ParameterSpec parameters}, {@linkplain FieldSpec fields}, {@linkplain * MethodSpec methods}, and {@linkplain TypeSpec types}.