Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 109 for NULL (0.01 seconds)

  1. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractJavaNullabilityChangesTest.kt

                    "Constructor com.example.Source(java.lang.String): Parameter 0 from null accepting to non-null accepting breaking change."
                )
                assertHasNoWarning()
                assertHasNoInformation()
            }
        }
    
        @Test
        fun `from null returning to non-null returning is not breaking`() {
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Feb 04 09:55:47 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  2. architecture/standards/0008-use-nullaway.md

      * When annotating existing internal code, use `org.jetbrains.annotations.Contract`, e.g. `@Contract(null -> null; !null -> !null)`.
          When doing so, still annotate nullable parameters and the return type as `@Nullable`.
      * Do not use `@Contract` for public APIs.
      * For polynull public APIs, the solution has to be decided on a case-by-case basis.
    
    Do not remove `null` checks on public API boundaries, even if the annotations (or rather lack of them) suggest this.
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Dec 11 10:24:40 GMT 2025
    - 4K bytes
    - Click Count (0)
  3. .teamcity/src/main/kotlin/configurations/StageTriggers.kt

                if (!stage.runsIndependent && prevStage != null) {
                    dependOnPreviousStageTrigger(model, prevStage, os)
                }
    
                snapshotDependencies(dependencies)
            }
        })
    
    fun Dependencies.dependOnPreviousStageTrigger(
        model: CIBuildModel,
        prevStage: Stage,
        os: Os? = null,
    ) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 30 12:17:39 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  4. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinNullabilityChangesTest.kt

                        val someVal: String? = null
                        var someVar: String? = null
                        fun foo(): String? = null
                    }
                """
            ) {
                assertHasErrors(
                    "Method com.example.Source.foo(): From non-null returning to null returning breaking change.",
                    "Method com.example.Source.getSomeVal(): From non-null returning to null returning breaking change.",
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Feb 04 09:55:47 GMT 2025
    - 5K bytes
    - Click Count (0)
  5. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/JSpecifyNullabilityChangesTest.kt

                    "Constructor com.example.Source(java.util.List): Parameter 0 from null accepting to non-null accepting breaking change."
                )
                assertHasNoWarning()
                assertHasNoInformation()
            }
        }
    
        @Test
        fun `from null array returning to non-null returning is not breaking`() {
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu May 15 17:05:08 GMT 2025
    - 18K bytes
    - Click Count (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/ClassMetaData.java

         * @return The property, or null if no such property exists.
         */
        public PropertyMetaData findProperty(String name) {
            PropertyMetaData propertyMetaData = declaredProperties.get(name);
            if (propertyMetaData != null) {
                return propertyMetaData;
            }
            ClassMetaData superClass = getSuperClass();
            if (superClass != null) {
                return superClass.findProperty(name);
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed May 21 06:20:45 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  7. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/JSpecifyNullUnmarkedChangesTest.kt

                    }
                """
            ) {
                assertHasErrors(
                    "Method com.example.Source.foo(): From non-null returning to null-unmarked returning breaking change.",
                    "Method com.example.Source.baz(): From non-null returning to null-unmarked returning breaking change.",
                )
                assertHasNoWarning()
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Oct 27 09:26:32 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java

            @Override
            public void onEndElement(String elementName) {
                if (elementName.equals("table")) {
                    currentTable = null;
                    header = null;
                }
                if (elementName.equals("tr")) {
                    currentRow = null;
                }
                nodes.pop();
            }
    
            @Override
            public void onText(String text) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed May 21 06:20:45 GMT 2025
    - 29.3K bytes
    - Click Count (0)
  9. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/BinaryBreakingChangesRule.java

                    // That will be handled when the member is passed to `maybeViolation`.
                    return null;
                }
                if (member instanceof JApiImplementedInterface) {
                    // The changes about the interface's methods will be reported already
                    return null;
                }
                if (member instanceof JApiConstructor) {
                    if (isInject((JApiConstructor) member)) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  10. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy

                    errors << "From non-null returning to null returning breaking change"
                } else if (oldNullability == Nullability.NON_NULL && newNullability == Nullability.UNMARKED) {
                    errors << "From non-null returning to null-unmarked returning breaking change"
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Oct 27 09:26:32 GMT 2025
    - 15.4K bytes
    - Click Count (0)
Back to Top