Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 4,270 for NULL (0.68 sec)

  1. android/guava/src/com/google/common/base/MoreObjects.java

       *
       * @return {@code first} if it is non-null; otherwise {@code second} if it is non-null
       * @throws NullPointerException if both {@code first} and {@code second} are null
       * @since 18.0 (since 3.0 as {@code Objects.firstNonNull()}).
       */
      public static <T> T firstNonNull(@Nullable T first, @Nullable T second) {
        if (first != null) {
          return first;
        }
        if (second != null) {
          return second;
        }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuildingResult.java

            this.projectId = (project != null)
                    ? project.getGroupId() + ':' + project.getArtifactId() + ':' + project.getVersion()
                    : "";
            this.pomFile = (project != null) ? project.getFile() : null;
            this.project = project;
            this.problems = problems != null ? problems : Collections.emptyList();
            this.dependencyResolutionResult = dependencyResolutionResult;
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 10:13:56 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileActivationContext.java

         *
         * @param activeProfileIds The identifiers of those profiles to activate, may be {@code null}.
         * @return This context, never {@code null}.
         */
        public DefaultProfileActivationContext setActiveProfileIds(List<String> activeProfileIds) {
            if (activeProfileIds != null) {
                this.activeProfileIds = Collections.unmodifiableList(activeProfileIds);
            } else {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/DfsImpl.java

            if (tf.getConfig().isDfsDisabled() || tf.getCredentials().getUserDomain() == null
                    || tf.getCredentials().getUserDomain().isEmpty()) {
                return null;
            }
    
            if (this._domains != null && System.currentTimeMillis() > this._domains.expiration) {
                this._domains = null;
            }
            if (this._domains != null) {
                return this._domains.map;
            }
            try {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 29.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/io/PropertiesUtil.java

         *
         * @param props
         *            Property set. Must not be {@literal null}.
         * @param file
         *            File. Must not be {@literal null}.
         * @param encoding
         *            Encoding. Must not be {@literal null} or empty.
         */
        public static void load(final Properties props, final File file, final String encoding) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  6. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

         * putIndex or sees null item.
         */
        private void checkNext() {
          if (nextIndex == putIndex) {
            nextIndex = -1;
            nextItem = null;
          } else {
            nextItem = items[nextIndex];
            if (nextItem == null) nextIndex = -1;
          }
        }
    
        @Override
        public E next() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  7. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategyTest.java

                Element build = root.child("build").orElse(null);
                Element plugins = build.child("plugins").orElse(null);
                Element cleanPlugin = plugins.child("plugin").orElse(null);
                Element executions = cleanPlugin.child("executions").orElse(null);
                Element execution = executions.child("execution").orElse(null);
                Element phase = execution.child("phase").orElse(null);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 38.8K bytes
    - Viewed (0)
  8. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/validation/DefaultSettingsValidator.java

            if (settings.isUsePluginRegistry()) {
                addViolation(problems, Severity.WARNING, "usePluginRegistry", null, "is deprecated and has no effect.");
            }
    
            List<String> pluginGroups = settings.getPluginGroups();
    
            if (pluginGroups != null) {
                for (int i = 0; i < pluginGroups.size(); i++) {
                    String pluginGroup = pluginGroups.get(i).trim();
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

        node.thread = null; // mark as 'deleted'
        restart:
        while (true) {
          Waiter pred = null;
          Waiter curr = waitersField;
          if (curr == Waiter.TOMBSTONE) {
            return; // give up if someone is calling complete
          }
          Waiter succ;
          while (curr != null) {
            succ = curr.next;
            if (curr.thread != null) { // we aren't unlinking this node, update pred.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

                    artifacts, projectArtifact.artifact, null, null, null, source, filter, Collections.emptyList(), null);
        }
    
        private ArtifactResolutionResult collect(ArtifactSpec a) throws ArtifactResolutionException {
            return artifactCollector.collect(
                    Collections.singleton(a.artifact),
                    projectArtifact.artifact,
                    null,
                    null,
                    null,
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 43K bytes
    - Viewed (0)
Back to top