You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by su...@apache.org on 2022/01/02 03:05:41 UTC

[groovy] branch master updated: Suppress warnings: raw use of parameterized classes

This is an automated email from the ASF dual-hosted git repository.

sunlan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git


The following commit(s) were added to refs/heads/master by this push:
     new 3aeb9cb  Suppress warnings: raw use of parameterized classes
3aeb9cb is described below

commit 3aeb9cbaf7e6a8f9c7d221fa0a3d93ce3002d152
Author: Daniel Sun <su...@apache.org>
AuthorDate: Sun Jan 2 11:04:35 2022 +0800

    Suppress warnings: raw use of parameterized classes
---
 .../org/apache/groovy/ginq/provider/collection/runtime/Partition.java    | 1 +
 .../org/apache/groovy/ginq/provider/collection/runtime/Queryable.java    | 1 +
 2 files changed, 2 insertions(+)

diff --git a/subprojects/groovy-ginq/src/main/groovy/org/apache/groovy/ginq/provider/collection/runtime/Partition.java b/subprojects/groovy-ginq/src/main/groovy/org/apache/groovy/ginq/provider/collection/runtime/Partition.java
index 82a19db..0da6ed6 100644
--- a/subprojects/groovy-ginq/src/main/groovy/org/apache/groovy/ginq/provider/collection/runtime/Partition.java
+++ b/subprojects/groovy-ginq/src/main/groovy/org/apache/groovy/ginq/provider/collection/runtime/Partition.java
@@ -34,6 +34,7 @@ public interface Partition<T> extends Queryable<T> {
      * Represents the empty Partition instance
      * @since 4.0.0
      */
+    @SuppressWarnings("rawtypes")
     Partition EMPTY_PARTITION = new PartitionImpl(Collections.emptyList());
 
     /**
diff --git a/subprojects/groovy-ginq/src/main/groovy/org/apache/groovy/ginq/provider/collection/runtime/Queryable.java b/subprojects/groovy-ginq/src/main/groovy/org/apache/groovy/ginq/provider/collection/runtime/Queryable.java
index f890acc..a8c5e22 100644
--- a/subprojects/groovy-ginq/src/main/groovy/org/apache/groovy/ginq/provider/collection/runtime/Queryable.java
+++ b/subprojects/groovy-ginq/src/main/groovy/org/apache/groovy/ginq/provider/collection/runtime/Queryable.java
@@ -49,6 +49,7 @@ public interface Queryable<T> {
      * Represents the empty Queryable instance
      * @since 4.0.0
      */
+    @SuppressWarnings("rawtypes")
     Queryable EMPTY_QUERYABLE = from(new Object[0]);
 
     /**