Skip to content

Commit

Permalink
Groovy 3.0.19 compatible (#791)
Browse files Browse the repository at this point in the history
* Update Groovy to 3.0.19

* Make project compatible with Groovy 3.0.19
  • Loading branch information
matrei committed Dec 8, 2023
1 parent 02b2c10 commit a6e26b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ assetPipelineVersion=3.3.4
gebVersion=2.3
gormVersion=8.0.2
grailsGradlePluginVersion=6.1.0
groovyVersion=3.0.11
groovyVersion=3.0.19
h2Version=1.4.200
hibernate5Version=5.6.15.Final
hibernateValidatorVersion=6.2.5.Final
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ abstract class AbstractHibernateGormStaticApi<D> extends GormStaticApi<D> {

protected List<String> removeNullNames(Map query) {
List<String> nullNames = []
Set<String> allNames = new HashSet<String>(query.keySet())
Set<String> allNames = new HashSet<>(query.keySet() as Set<String>)
for (String name in allNames) {
if (query[name] == null) {
query.remove name
Expand Down

0 comments on commit a6e26b2

Please sign in to comment.