Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Varargs capitalization #6698

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
Open

Conversation

mernst
Copy link
Member

@mernst mernst commented Jul 7, 2024

Merge after #6693.

@@ -990,7 +990,7 @@ private static AnnotatedTypeMirror glbSubtype(
* Tree)} instead
*/
@Deprecated // 2022-04-21
public static List<AnnotatedTypeMirror> expandVarArgsParameters(
public static List<AnnotatedTypeMirror> expandVarargsParameters(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably don't need to rename this deprecated method.

@@ -2608,7 +2608,7 @@ public static boolean isVarargsCall(Tree tree) {
* @deprecated use {@link #isVarargsCall(MethodInvocationTree)}
*/
@Deprecated // 2024-06-04
public static boolean isVarArgs(MethodInvocationTree invok) {
public static boolean isVarargs(MethodInvocationTree invok) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably don't need to rename the deprecated method.

@@ -2667,7 +2667,7 @@ public static boolean isCallToVarArgsMethodWithZeroVarargsActuals(MethodInvocati
* @deprecated use {@link #isVarargsCall(NewClassTree)}
*/
@Deprecated // 2024-06-04
public static boolean isVarArgs(NewClassTree newClassTree) {
public static boolean isVarargs(NewClassTree newClassTree) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably don't need to rename the deprecated method.

@@ -2872,7 +2872,7 @@ public static boolean isStandaloneExpression(ExpressionTree expression) {
* @deprecated use {@link #isVarargsCall(Tree)}
*/
@Deprecated // 2024-06-04
public static boolean isVarArgMethodCall(ExpressionTree methodInvocation) {
public static boolean isVarargsMethodCall(ExpressionTree methodInvocation) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably don't need to rename the deprecated method.

@smillst smillst assigned mernst and unassigned smillst Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants