- Sort Score
- Num 10 results
- Language All
Results 301 - 310 of 2,436 for instanceOf (0.29 seconds)
-
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java
} @Test @DisplayName("Should correctly inherit from ServerMessageBlock2Request") void testInheritance() { // Then assertTrue(request instanceof ServerMessageBlock2Request); assertTrue(request instanceof ServerMessageBlock2); } @Test @DisplayName("Should maintain immutability of structure size") void testStructureSizeImmutability() throws Exception {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.6K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java
return null; } if (terminal instanceof FastTerminal ft) { terminal = ft.getTerminal(); } List<String> subs = new ArrayList<>(); subs.add("type=" + terminal.getType()); if (terminal instanceof TerminalExt te) { subs.add("provider=" + te.getProvider().name()); } if (terminal instanceof AbstractPosixTerminal pt) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Oct 28 13:01:07 GMT 2025 - 43.2K bytes - Click Count (0) -
build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/EclipseConventionPlugin.java
*/ int i = 0; List<ClasspathEntry> sourceFolderList = classpath.getEntries().stream().filter(e -> e instanceof SourceFolder).collect(toList()); for (ClasspathEntry sourceFolder : sourceFolderList) { ((SourceFolder)sourceFolder).setOutput("out/eclipse/" + i++); }Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu Jul 01 09:43:51 GMT 2021 - 6.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java
assertNotSame(impl, renewed, "renew() should return a different instance"); assertTrue(renewed instanceof SmbRenewableCredentials, "renewed credentials should still be SmbRenewableCredentials"); } else { assertNull(renewed, "renew() may return null for failed renewal"); } } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/entity/DataStoreParams.java
/** * Creates a new empty DataStoreParams instance. * Initializes the internal parameter map with a ParamMap wrapper. */ public DataStoreParams() { params = new ParamMap<>(new HashMap<>()); } /** * Creates a new DataStoreParams instance with a copy of the provided parameters. * This protected constructor is used for creating new instances from existing parameter maps. *Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 5.8K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTreeHandleImpl.java
try (SmbSessionImpl session = this.treeConnection.getSession(); SmbTransportImpl transport = session.getTransport()) { final SmbNegotiationResponse nego = transport.getNegotiateResponse(); if (nego instanceof SmbComNegotiateResponse) { return ((SmbComNegotiateResponse) nego).getServerData().serverTimeZone * 1000 * 60L; } return 0; } } /**
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 25.7K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/logging/LoggingExecutionListener.java
halted = status.isHalted(); } else { // assume sensible default Throwable t = projectExecutionEvent.getCause(); halted = (t instanceof RuntimeException || !(t instanceof Exception)) || !MavenExecutionRequest.REACTOR_FAIL_NEVER.equals(session.getReactorFailureBehavior())
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 6.5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
return exception instanceof UnsupportedOperationException || exception instanceof IllegalStateException; } }; static final PermittedMetaException UOE = new PermittedMetaException("UnsupportedOperationException") { @Override boolean isPermitted(Exception exception) { return exception instanceof UnsupportedOperationException; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 21.4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java
// notify listeners about "soft" project build failures only if (t instanceof Exception exception && !(t instanceof RuntimeException)) { eventCatapult.fire(ExecutionEvent.Type.ProjectFailed, session, null, exception); } // reactor failure modes if (t instanceof RuntimeException || !(t instanceof Exception)) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Oct 16 06:12:36 GMT 2025 - 55.1K bytes - Click Count (0)