Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 2,539 for NULL (0.01 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/settings/SettingsUtils.java

        }
    
        /**
         * @param settings could be null
         * @return a new instance of settings or null if settings was null.
         */
        public static Settings copySettings(Settings settings) {
            if (settings == null) {
                return null;
            }
    
            return new Settings(settings.getDelegate());
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ClassMap.java

                    // nor any of its interfaces has it so quickly return null.
                    return null;
                }
            }
    
            //  try the superclass
            Class<?> superclazz = clazz.getSuperclass();
    
            if (superclazz != null) {
                Method superclazzMethod = getPublicMethod(superclazz, name, paramTypes);
    
                if (superclazzMethod != null) {
                    return superclazzMethod;
                }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/extension/model/io/xpp3/CoreExtensionsXpp3Writer.java

        // - Class/Member Variables -/
        // --------------------------/
    
        /**
         * Field NAMESPACE.
         */
        private static final String NAMESPACE = null;
    
        /**
         * Field fileComment.
         */
        private String fileComment = null;
    
        // -----------/
        // - Methods -/
        // -----------/
    
        /**
         * Method setFileComment.
         *
         * @param fileComment a fileComment object.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenInvoker.java

                if (installationToolchainsFileStr != null) {
                    installationToolchainsFile = context.installationDirectory
                            .resolve(installationToolchainsFileStr)
                            .normalize();
                }
            }
    
            request.setInstallationToolchainsFile(
                    installationToolchainsFile != null ? installationToolchainsFile.toFile() : null);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 11 17:20:46 GMT 2025
    - 28.2K bytes
    - Click Count (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/GAVUtilsTest.java

                                null, "incomplete-project", null, "Should return null for missing groupId and version"),
                        Arguments.of("com.example", null, "1.0.0", "Should return null for missing artifactId"),
                        Arguments.of(null, null, "1.0.0", "Should return null for missing groupId and artifactId"),
                        Arguments.of("com.example", "test-project", null, "Should return null for missing version"),
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 17.3K bytes
    - Click Count (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenPropertiesLoader.java

            if (includes != null) {
                includes = substVars(includes, INCLUDES_PROPERTY, configProps, callback);
                StringTokenizer st = new StringTokenizer(includes, "?\",", true);
                if (st.countTokens() > 0) {
                    String location;
                    do {
                        location = nextLocation(st);
                        if (location != null) {
                            boolean mandatory = true;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulator.java

            String localRepositoryPath = null;
    
            if (request.getLocalRepositoryPath() != null) {
                localRepositoryPath = request.getLocalRepositoryPath().getAbsolutePath();
            }
    
            if (localRepositoryPath == null || localRepositoryPath.isEmpty()) {
                String path = request.getUserProperties().getProperty(Constants.MAVEN_USER_CONF);
                if (path == null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 8.4K bytes
    - Click Count (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/BridgeInterceptor.kt

        if (userRequest.header("Accept-Encoding") == null && userRequest.header("Range") == null) {
          transparentGzip = true
          requestBuilder.header("Accept-Encoding", "gzip")
        }
    
        val cookies = cookieJar.loadForRequest(userRequest.url)
        if (cookies.isNotEmpty()) {
          requestBuilder.header("Cookie", cookieHeader(cookies))
        }
    
        if (userRequest.header("User-Agent") == null) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  9. impl/maven-core/src/test/java/org/apache/maven/execution/scope/internal/MojoExecutionScopeTest.java

                    instance,
                    scope.scope(Key.get(WeakMojoExecutionListener.class), () -> instance)
                            .get());
    
            final MojoExecutionEvent event = new MojoExecutionEvent(null, null, null, null);
            scope.beforeMojoExecution(event);
            scope.afterMojoExecutionSuccess(event);
            scope.afterExecutionFailure(event);
    
            assertEquals(1, beforeExecution.get());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.6K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyJvmTest.kt

        assertThat(body.string()).isEqualTo(text)
      }
    
      companion object {
        @JvmOverloads
        fun body(
          hex: String,
          charset: String? = null,
        ): ResponseBody {
          val mediaType = if (charset == null) null else "any/thing; charset=$charset".toMediaType()
          return hex.decodeHex().toResponseBody(mediaType)
        }
    
        fun exhaust(reader: Reader): String {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 12.4K bytes
    - Click Count (0)
Back to Top