Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 70 for unmodifiableList (0.05 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/exception/ExceptionSummary.java

            this.exception = exception;
            this.message = (message != null) ? message : "";
            this.reference = (reference != null) ? reference : "";
            this.children = (children != null) ? Collections.unmodifiableList(children) : Collections.emptyList();
        }
    
        public Throwable getException() {
            return exception;
        }
    
        public String getMessage() {
            return message;
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/TestLogHandler.java

       * an ImmutableList)
       */
      public List<LogRecord> getStoredLogRecords() {
        synchronized (lock) {
          List<LogRecord> result = new ArrayList<>(list);
          return Collections.unmodifiableList(result);
        }
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/project/DefaultDependencyResolutionResult.java

            }
        }
    
        @Override
        public List<Exception> getResolutionErrors(Dependency dependency) {
            List<Exception> errors = resolutionErrors.get(dependency);
            return (errors != null) ? Collections.unmodifiableList(errors) : Collections.emptyList();
        }
    
        public void setResolutionErrors(Dependency dependency, List<Exception> errors) {
            dependencies.add(dependency);
            unresolvedDependencies.add(dependency);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 10:13:56 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  4. okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt

              if (cookies == null) cookies = mutableListOf()
              cookies.addAll(decodeHeaderAsJavaNetCookies(url, header))
            }
          }
        }
    
        return if (cookies != null) {
          Collections.unmodifiableList(cookies)
        } else {
          emptyList()
        }
      }
    
      /**
       * Convert a request header to OkHttp's cookies via [HttpCookie]. That extra step handles
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

    import static com.google.common.collect.testing.Helpers.assertEqualIgnoringOrder;
    import static com.google.common.collect.testing.Helpers.copyToList;
    import static java.util.Arrays.asList;
    import static java.util.Collections.unmodifiableList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import com.google.errorprone.annotations.OverridingMethodsMustInvokeSuper;
    import java.util.ArrayList;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 20:54:16 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

            return Collections.unmodifiableList(new MappedList<>(
                    getMavenProject(project).getRemoteProjectRepositories(), session::getRemoteRepository));
        }
    
        @Override
        @Nonnull
        public List<RemoteRepository> getRemotePluginRepositories(@Nonnull Project project) {
            return Collections.unmodifiableList(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Dec 17 16:17:01 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingException.java

         */
        public List<ModelProblem> getProblems() {
            if (result == null) {
                return Collections.emptyList();
            }
            return Collections.unmodifiableList(result.getProblems());
        }
    
        private static String toMessage(ModelBuildingResult result) {
            if (result != null && !result.getModelIds().isEmpty()) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

            }
            final Iterator entries = map.entrySet().iterator();
            while (entries.hasNext()) {
                final Map.Entry entry = (Map.Entry) entries.next();
                entry.setValue(Collections.unmodifiableList((List) entry.getValue()));
            }
            return headerFields = Collections.unmodifiableMap(map);
        }
    
        @Override
        public Map getHeaderFields() {
            if (headerFields != null) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectBuildList.java

     */
    public class ProjectBuildList implements Iterable<ProjectSegment> {
        private final List<ProjectSegment> items;
    
        public ProjectBuildList(List<ProjectSegment> items) {
            this.items = Collections.unmodifiableList(items);
        }
    
        // TODO Optimize; or maybe just rewrite the whole way aggregating mojos are being run.
        /**
         * Returns aProjectBuildList that contains only items for the specified taskSegment
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Throwables.java

     * the License.
     */
    
    package com.google.common.base;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static java.util.Arrays.asList;
    import static java.util.Collections.unmodifiableList;
    import static java.util.Objects.requireNonNull;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.6K bytes
    - Viewed (0)
Back to top