- Sort Score
- Result 10 results
- Languages All
Results 2651 - 2660 of 4,015 for null (0.03 sec)
-
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) -
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) -
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) -
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) -
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) -
api/maven-api-settings/src/test/java/org/apache/maven/api/settings/SettingsTest.java
assertEquals("xxx", s.getLocalRepository()); s = s.withLocalRepository("yyy"); assertEquals("yyy", s.getLocalRepository()); s = s.withLocalRepository(null); assertNull(s.getLocalRepository()); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Sat Apr 15 17:24:20 UTC 2023 - 1.4K bytes - Viewed (0) -
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) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/NewestConflictResolver.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.2K bytes - Viewed (0) -
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) -
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)