From 62abaa79a7ed928867331c8c946e251faf44e5f2 Mon Sep 17 00:00:00 2001 From: Rawi01 Date: Mon, 14 Oct 2024 22:43:20 +0200 Subject: [PATCH] Update ecj message line numbers --- .../messages-ecj/DelegateFlagUsage.java.messages | 2 +- .../messages-ecj/DelegateOnGetter.java.messages | 4 ++-- .../messages-ecj/DelegateOnStatic.java.messages | 4 ++-- .../messages-ecj/DelegateRecursion.java.messages | 2 +- ...alAnonymousSubclassWithGenerics.java.messages | 2 +- .../ValInvalidParameter.java.messages | 16 ++++++++-------- .../messages-ecj/ValLambda.java.messages | 4 ++-- .../messages-ecj/ValRawType.java.messages | 2 +- .../messages-ecj/VarInForOldMulti.java.messages | 2 +- .../messages-ecj/VarModifier.java.messages | 4 ++-- .../messages-ecj/VarNullInit.java.messages | 2 +- .../messages-ecj/VarWarning.java.messages | 2 +- 12 files changed, 23 insertions(+), 23 deletions(-) diff --git a/test/transform/resource/messages-ecj/DelegateFlagUsage.java.messages b/test/transform/resource/messages-ecj/DelegateFlagUsage.java.messages index 6c8f693e6e..54e48e664d 100644 --- a/test/transform/resource/messages-ecj/DelegateFlagUsage.java.messages +++ b/test/transform/resource/messages-ecj/DelegateFlagUsage.java.messages @@ -1 +1 @@ -4 Use of @Delegate is flagged according to lombok configuration. +5 Use of @Delegate is flagged according to lombok configuration. diff --git a/test/transform/resource/messages-ecj/DelegateOnGetter.java.messages b/test/transform/resource/messages-ecj/DelegateOnGetter.java.messages index 16453094cb..ef40527b25 100644 --- a/test/transform/resource/messages-ecj/DelegateOnGetter.java.messages +++ b/test/transform/resource/messages-ecj/DelegateOnGetter.java.messages @@ -1,2 +1,2 @@ -1 The type Delegate is deprecated -6 The type Delegate is deprecated +2 The type Delegate is deprecated +7 The type Delegate is deprecated diff --git a/test/transform/resource/messages-ecj/DelegateOnStatic.java.messages b/test/transform/resource/messages-ecj/DelegateOnStatic.java.messages index 51dcf5014e..45ae7c5750 100644 --- a/test/transform/resource/messages-ecj/DelegateOnStatic.java.messages +++ b/test/transform/resource/messages-ecj/DelegateOnStatic.java.messages @@ -1,2 +1,2 @@ -6 @Delegate is legal only on instance fields or no-argument instance methods. -10 @Delegate is legal only on instance fields or no-argument instance methods. \ No newline at end of file +7 @Delegate is legal only on instance fields or no-argument instance methods. +11 @Delegate is legal only on instance fields or no-argument instance methods. diff --git a/test/transform/resource/messages-ecj/DelegateRecursion.java.messages b/test/transform/resource/messages-ecj/DelegateRecursion.java.messages index bf4d84106e..b3179954f9 100644 --- a/test/transform/resource/messages-ecj/DelegateRecursion.java.messages +++ b/test/transform/resource/messages-ecj/DelegateRecursion.java.messages @@ -1 +1 @@ -4 @Delegate does not support recursion (delegating to a type that itself has @Delegate members). Member "inner" is @Delegate in type "DelegateRecursionCenter" +5 @Delegate does not support recursion (delegating to a type that itself has @Delegate members). Member "inner" is @Delegate in type "DelegateRecursionCenter" diff --git a/test/transform/resource/messages-ecj/ValAnonymousSubclassWithGenerics.java.messages b/test/transform/resource/messages-ecj/ValAnonymousSubclassWithGenerics.java.messages index 37f876391c..a70f61bf29 100644 --- a/test/transform/resource/messages-ecj/ValAnonymousSubclassWithGenerics.java.messages +++ b/test/transform/resource/messages-ecj/ValAnonymousSubclassWithGenerics.java.messages @@ -1 +1 @@ -17 The serializable class does not declare a static final serialVersionUID field of type long \ No newline at end of file +18 The serializable class does not declare a static final serialVersionUID field of type long diff --git a/test/transform/resource/messages-ecj/ValInvalidParameter.java.messages b/test/transform/resource/messages-ecj/ValInvalidParameter.java.messages index cbf2d7c4e6..6758e11973 100644 --- a/test/transform/resource/messages-ecj/ValInvalidParameter.java.messages +++ b/test/transform/resource/messages-ecj/ValInvalidParameter.java.messages @@ -1,9 +1,9 @@ -5 NonExistingClass cannot be resolved to a type 6 NonExistingClass cannot be resolved to a type -7 The method nonExisitingMethod(Integer) is undefined for the type ValInvalidParameter -8 nonExistingObject cannot be resolved -9 The method nonExistingMethod() is undefined for the type Integer -10 NonExistingClass cannot be resolved to a type -11 The method b2(int, int) in the type ValInvalidParameter is not applicable for the arguments (int) -12 The method a(String) is ambiguous for the type ValInvalidParameter -13 The method a(String) is ambiguous for the type ValInvalidParameter \ No newline at end of file +7 NonExistingClass cannot be resolved to a type +8 The method nonExisitingMethod(Integer) is undefined for the type ValInvalidParameter +9 nonExistingObject cannot be resolved +10 The method nonExistingMethod() is undefined for the type Integer +11 NonExistingClass cannot be resolved to a type +12 The method b2(int, int) in the type ValInvalidParameter is not applicable for the arguments (int) +13 The method a(String) is ambiguous for the type ValInvalidParameter +14 The method a(String) is ambiguous for the type ValInvalidParameter diff --git a/test/transform/resource/messages-ecj/ValLambda.java.messages b/test/transform/resource/messages-ecj/ValLambda.java.messages index fa7231efed..6bfb52d952 100644 --- a/test/transform/resource/messages-ecj/ValLambda.java.messages +++ b/test/transform/resource/messages-ecj/ValLambda.java.messages @@ -1,2 +1,2 @@ -24 Function is a raw type. References to generic type Function should be parameterized -25 Function is a raw type. References to generic type Function should be parameterized \ No newline at end of file +25 Function is a raw type. References to generic type Function should be parameterized +26 Function is a raw type. References to generic type Function should be parameterized diff --git a/test/transform/resource/messages-ecj/ValRawType.java.messages b/test/transform/resource/messages-ecj/ValRawType.java.messages index 2a1fbba647..95fef20373 100644 --- a/test/transform/resource/messages-ecj/ValRawType.java.messages +++ b/test/transform/resource/messages-ecj/ValRawType.java.messages @@ -1 +1 @@ -13 List is a raw type. References to generic type List should be parameterized +14 List is a raw type. References to generic type List should be parameterized diff --git a/test/transform/resource/messages-ecj/VarInForOldMulti.java.messages b/test/transform/resource/messages-ecj/VarInForOldMulti.java.messages index 0bfd6e65a9..917ca0a094 100644 --- a/test/transform/resource/messages-ecj/VarInForOldMulti.java.messages +++ b/test/transform/resource/messages-ecj/VarInForOldMulti.java.messages @@ -1 +1 @@ -6 'var' is not allowed in old-style for loops if there is more than 1 initializer \ No newline at end of file +7 'var' is not allowed in old-style for loops if there is more than 1 initializer diff --git a/test/transform/resource/messages-ecj/VarModifier.java.messages b/test/transform/resource/messages-ecj/VarModifier.java.messages index 051d1ad708..1931c2cdc1 100644 --- a/test/transform/resource/messages-ecj/VarModifier.java.messages +++ b/test/transform/resource/messages-ecj/VarModifier.java.messages @@ -1,3 +1,3 @@ -1 The type var is deprecated -7 The type var is deprecated +2 The type var is deprecated 8 The type var is deprecated +9 The type var is deprecated diff --git a/test/transform/resource/messages-ecj/VarNullInit.java.messages b/test/transform/resource/messages-ecj/VarNullInit.java.messages index 5a2a6ae11d..a82c77cfb2 100644 --- a/test/transform/resource/messages-ecj/VarNullInit.java.messages +++ b/test/transform/resource/messages-ecj/VarNullInit.java.messages @@ -1 +1 @@ -5 variable initializer is 'null' \ No newline at end of file +6 variable initializer is 'null' diff --git a/test/transform/resource/messages-ecj/VarWarning.java.messages b/test/transform/resource/messages-ecj/VarWarning.java.messages index 25096b845e..fe6e79a290 100644 --- a/test/transform/resource/messages-ecj/VarWarning.java.messages +++ b/test/transform/resource/messages-ecj/VarWarning.java.messages @@ -1 +1 @@ -6 Use of var is flagged according to lombok configuration. \ No newline at end of file +7 Use of var is flagged according to lombok configuration.