Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2651 - 2660 of 4,015 for null (0.03 sec)

  1. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/SinceAnnotationMissingRule.java

        }
    
        @Override
        public Violation maybeViolation(final JApiCompatibility member) {
    
            if (shouldSkipViolationCheckFor(member) || getRepository().isSince(getCurrentVersion(), member)) {
                return null;
            }
    
            return acceptOrReject(member, Violation.error(member, SINCE_ERROR_MESSAGE + getCurrentVersion()));
        }
    
        private boolean shouldSkipViolationCheckFor(JApiCompatibility member) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Sep 21 16:02:23 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactory.java

        public PooledObject<T> wrap(final T obj) {
            return new DefaultPooledObject<>(obj);
        }
    
        @Override
        public void destroyObject(final PooledObject<T> p) throws Exception {
            if (onDestroyListener != null) {
                onDestroyListener.onDestroy(p);
            }
        }
    
        public interface OnDestroyListener<T> {
            void onDestroy(PooledObject<T> p);
        }
    
        public String getComponentName() {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. okcurl/src/main/kotlin/okhttp3/curl/logging/OneLineLogFormat.kt

      override fun format(record: LogRecord): String {
        val message = formatMessage(record)
    
        val time = Instant.ofEpochMilli(record.millis).atZone(offset)
    
        return if (record.thrown != null) {
          val sw = StringWriter(4096)
          val pw = PrintWriter(sw)
          record.thrown.printStackTrace(pw)
          String.format("%s\t%s%n%s%n", time.format(d), message, sw.toString())
        } else {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 2.1K bytes
    - Viewed (1)
  4. android/guava-testlib/test/com/google/common/collect/testing/MinimalCollectionTest.java

                  public Collection<String> create(String[] elements) {
                    // TODO: MinimalCollection should perhaps throw
                    for (Object element : elements) {
                      if (element == null) {
                        throw new NullPointerException();
                      }
                    }
                    return MinimalCollection.of(elements);
                  }
                })
            .named("MinimalCollection")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/dcerpc/ndr/NdrException.java

     */
    
    package jcifs.smb1.dcerpc.ndr;
    
    import java.io.IOException;
    
    public class NdrException extends IOException {
    
        public static final String NO_NULL_REF = "ref pointer cannot be null";
        public static final String INVALID_CONFORMANCE = "invalid array conformance";
    
        public NdrException( String msg ) {
            super( msg );
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 1.2K bytes
    - Viewed (0)
  6. api/maven-api-settings/src/test/java/org/apache/maven/api/settings/SettingsTest.java

    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Apr 15 17:24:20 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

      /**
       * Records an exception so that it can be rethrown later in the test harness thread, triggering a
       * test case failure. Only the first failure is recorded; subsequent calls to this method from
       * within the same test have no effect.
       */
      public void threadRecordFailure(Throwable t) {
        threadFailure.compareAndSet(null, t);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/NewestConflictResolver.java

                return version1.compareTo(version2) > 0 ? node1 : node2;
            } catch (OverConstrainedVersionException exception) {
                // TODO log message or throw exception?
    
                return null;
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/SnapshotArtifactRepositoryMetadata.java

    @Deprecated
    public class SnapshotArtifactRepositoryMetadata extends AbstractRepositoryMetadata {
        private Artifact artifact;
    
        public SnapshotArtifactRepositoryMetadata(Artifact artifact) {
            super(createMetadata(artifact, null));
            this.artifact = artifact;
        }
    
        public SnapshotArtifactRepositoryMetadata(Artifact artifact, Snapshot snapshot) {
            super(createMetadata(artifact, createVersioning(snapshot)));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/MavenSecDispatcher.java

            super(dispatchers, configurationFile());
        }
    
        private static Path configurationFile() {
            String mavenUserConf = System.getProperty(Constants.MAVEN_USER_CONF);
            if (mavenUserConf != null) {
                return Paths.get(mavenUserConf, FILE_NAME);
            }
            // this means we are in UT or alike
            return Paths.get(System.getProperty("user.home"), ".m2", FILE_NAME);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top