Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for MixedMutabilityReturnType (0.35 sec)

  1. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/ExceptionPlaceholder.java

            if (isJava7()) {
                return Arrays.asList(throwable.getSuppressed());
            }
            return Collections.emptyList();
        }
    
        @SuppressWarnings("MixedMutabilityReturnType")
        // TODO Use only immutable collections
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/build.gradle.kts

            "InvalidParam", // 1 occurrences
            "LoopOverCharArray", // 1 occurrences
            "MathAbsoluteNegative",
            "MissingCasesInEnumSwitch", // 7 occurrences
            "MixedMutabilityReturnType", // 5 occurrences
            "ModifiedButNotUsed", // 1 occurrences
            "MutablePublicArray", // 1 occurrences
            "NonApiType", // 3 occurrences
            "NonCanonicalType", // 3 occurrences
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 7K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/os/OperatingSystem.java

                if (candidate.isFile()) {
                    all.add(candidate);
                }
            }
    
            return all;
        }
    
        @SuppressWarnings("MixedMutabilityReturnType")
        public List<File> getPath() {
            String path = System.getenv(getPathVar());
            if (path == null) {
                return Collections.emptyList();
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  4. subprojects/core/build.gradle.kts

            "InlineMeSuggester", // 1 occurrences
            "InvalidBlockTag", // 1 occurrences
            "InvalidInlineTag", // 1 occurrences
            "MissingCasesInEnumSwitch", // 1 occurrences
            "MixedMutabilityReturnType", // 1 occurrences
            "ModifyCollectionInEnhancedForLoop", // 1 occurrences
            "MutablePublicArray", // 2 occurrences
            "NonApiType", // 1 occurrences
            "NonCanonicalType", // 16 occurrences
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:14 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. platforms/core-runtime/wrapper-shared/src/main/java/org/gradle/wrapper/Install.java

                    "  Actual checksum: '%s'%n",
                sourceUrl, localZipFile.getAbsolutePath(), expectedSum, actualSum);
            throw new RuntimeException(message);
        }
    
        @SuppressWarnings("MixedMutabilityReturnType")
        private List<File> listDirs(File distDir) {
            if (!distDir.exists()) {
                return emptyList();
            }
            File[] files = distDir.listFiles();
            if (files == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. platforms/core-runtime/logging/src/main/java/org/gradle/util/GUtil.java

         *
         * @param input any object
         * @return collection of flattened input or single input wrapped in a collection.
         */
        @SuppressWarnings("MixedMutabilityReturnType")
        public static Collection<?> collectionize(Object input) {
            if (input == null) {
                return emptyList();
            } else if (input instanceof Collection) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  7. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/GUtil.java

         *
         * @param input any object
         * @return collection of flattened input or single input wrapped in a collection.
         */
        @SuppressWarnings("MixedMutabilityReturnType")
        public static Collection<?> collectionize(Object input) {
            if (input == null) {
                return emptyList();
            } else if (input instanceof Collection) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/metaobject/BeanDynamicObject.java

            protected DynamicInvokeResult setOpaqueProperty(MetaClass metaClass, String name, @Nullable Object value) {
                return DynamicInvokeResult.notFound();
            }
    
            @SuppressWarnings("MixedMutabilityReturnType")
            // This might be too invasive to fix properly because it is in the dynamic code.
            public Map<String, ?> getProperties() {
                if (!includeProperties) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  9. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/CollectionUtils.java

         *
         * @param things The things to flatten
         * @param <T> The target type in the flattened list
         * @return A flattened list of the given things
         */
        @SuppressWarnings("MixedMutabilityReturnType")
        public static <T> List<T> flattenCollections(Class<T> type, Object... things) {
            if (things == null) {
                return Collections.singletonList(null);
            } else if (things.length == 0) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 24.3K bytes
    - Viewed (0)
Back to top