-
Notifications
You must be signed in to change notification settings - Fork 866
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Return type from findAll changed from Collection to List Workflow: 1. Update the groovy version 2. Remove all reference files: find . -regextype egrep -regex '.*\.(occurrences|completion|folds|indexed|semantic|ccresult)' -exec rm {} \; 3. Rebuild the reference files by running the unittests with the base JDK (17 for this commit) 4. Review the difference 5. Commit the change with the updated reference files 6. Add JDK specific variants by: 6a: Removing all existing reference files: find . -regextype egrep -regex '.*\.(occurrences|completion|folds|indexed|semantic|ccresult)' -exec rm {} \; 6b: Rerun unittests with the target JDK 6c: Move the changed reference files to their version specific name (21 is the JDK version in this case and needs to be adjusted): for i in `git status -s | cut --delimiter " " -f 3`; do mv $i ${i%.*}.21.completion; git checkout $i; done 6d: Amend the changes to the base commit
- Loading branch information
1 parent
0aac8c1
commit cb3c105
Showing
51 changed files
with
5,348 additions
and
48 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
...testfiles/completion/ClassMethodFieldLong2.groovy.testClassMethodFieldLong2.21.completion
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Code completion result for source line: | ||
longField.comp| | ||
(QueryType=COMPLETION, prefixSearch=true, caseSensitive=true) | ||
------------------------------------ | ||
METHOD compare(long, long) [STATIC, int | ||
METHOD compareTo(Character) int | ||
METHOD compareTo(Long) [PUBLIC] int | ||
METHOD compareTo(Number) int | ||
METHOD compareUnsigned(long, long) [STATIC, int | ||
METHOD compress(long, long) [STATIC, long |
11 changes: 11 additions & 0 deletions
11
...files/completion/ClassMethodFieldString2.groovy.testClassMethodFieldString2.21.completion
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Code completion result for source line: | ||
stringField.spli| | ||
(QueryType=COMPLETION, prefixSearch=true, caseSensitive=true) | ||
------------------------------------ | ||
METHOD split() String[] | ||
METHOD split(Closure) Collection | ||
METHOD split(String) [PUBLIC] String[] | ||
METHOD split(String, int) [PUBLIC] String[] | ||
METHOD splitEachLine(CharSequence, Cl Object | ||
METHOD splitEachLine(Pattern, Closure Object | ||
METHOD splitWithDelimiters(String, in [PUBLIC] String[] |
10 changes: 10 additions & 0 deletions
10
...testfiles/completion/ClassMethodLocalLong2.groovy.testClassMethodLocalLong2.21.completion
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Code completion result for source line: | ||
localLong.comp| | ||
(QueryType=COMPLETION, prefixSearch=true, caseSensitive=true) | ||
------------------------------------ | ||
METHOD compare(long, long) [STATIC, int | ||
METHOD compareTo(Character) int | ||
METHOD compareTo(Long) [PUBLIC] int | ||
METHOD compareTo(Number) int | ||
METHOD compareUnsigned(long, long) [STATIC, int | ||
METHOD compress(long, long) [STATIC, long |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
...itor/test/unit/data/testfiles/completion/ScriptLong2.groovy.testScriptLong2.21.completion
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Code completion result for source line: | ||
l.comp| | ||
(QueryType=COMPLETION, prefixSearch=true, caseSensitive=true) | ||
------------------------------------ | ||
METHOD compare(long, long) [STATIC, int | ||
METHOD compareTo(Character) int | ||
METHOD compareTo(Long) [PUBLIC] int | ||
METHOD compareTo(Number) int | ||
METHOD compareUnsigned(long, long) [STATIC, int | ||
METHOD compress(long, long) [STATIC, long |
11 changes: 11 additions & 0 deletions
11
.../test/unit/data/testfiles/completion/ScriptString2.groovy.testScriptString2.21.completion
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Code completion result for source line: | ||
s.spli| | ||
(QueryType=COMPLETION, prefixSearch=true, caseSensitive=true) | ||
------------------------------------ | ||
METHOD split() String[] | ||
METHOD split(Closure) Collection | ||
METHOD split(String) [PUBLIC] String[] | ||
METHOD split(String, int) [PUBLIC] String[] | ||
METHOD splitEachLine(CharSequence, Cl Object | ||
METHOD splitEachLine(Pattern, Closure Object | ||
METHOD splitWithDelimiters(String, in [PUBLIC] String[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
643 changes: 643 additions & 0 deletions
643
...mpletion/closures/insideClosure1/InsideClosure1.groovy.testInsideClosure1_1.21.completion
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
.../completion/collections/collections1/Collections1.groovy.testCollections1_3.21.completion
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
Code completion result for source line: | ||
(1..10).a| | ||
(QueryType=COMPLETION, prefixSearch=true, caseSensitive=true) | ||
------------------------------------ | ||
METHOD add(E) [PUBLIC] boolean | ||
METHOD add(int, E) [PUBLIC] void | ||
METHOD addAll(Collection<? extends E> [PUBLIC] boolean | ||
METHOD addAll(Iterable) boolean | ||
METHOD addAll(Iterator) boolean | ||
METHOD addAll(Object[]) boolean | ||
METHOD addAll(int, Collection<? exten [PUBLIC] boolean | ||
METHOD addAll(int, Object) boolean | ||
METHOD addFirst(E) [PUBLIC] void | ||
METHOD addLast(E) [PUBLIC] void | ||
METHOD addShutdownHook(Closure) void | ||
METHOD any() boolean | ||
METHOD any(Closure) boolean | ||
METHOD asBoolean() boolean | ||
METHOD asCollection() Collection | ||
METHOD asImmutable() List | ||
METHOD asList() List | ||
METHOD asSynchronized() List | ||
METHOD asType(Class) Object | ||
METHOD asUnmodifiable() List | ||
METHOD average() Object | ||
METHOD average(Closure) Object |
Oops, something went wrong.