- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 233 for setPath (0.1 seconds)
-
src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java
assertEquals("path2", combined.getPath()); assertEquals("DOMAIN", combined.getDomain()); assertEquals(second.getExpiration(), combined.getExpiration()); // Path consumed should be combined int expectedPathConsumed = 20 + 15; if (first.getPath() != null) { expectedPathConsumed -= (first.getPath().length() + 1); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 30.6K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifact.java
Files.deleteIfExists(target); result = null; } else if (!Files.exists(src.getPath())) { Files.deleteIfExists(target); result = ""; } else { String current = ChecksumAlgorithmHelper.calculate( src.getPath(), List.of(new Sha1ChecksumAlgorithmFactory())) .get(Sha1ChecksumAlgorithmFactory.NAME);
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Nov 06 18:32:25 GMT 2025 - 4.8K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbFileDirectoryLeasingExtension.java
if (dirManager == null) { log.debug("Directory leasing not available for: {}", smbFile.getPath()); return null; } return dirManager.requestDirectoryLease(smbFile.getPath(), requestedState, scope); } catch (CIFSException e) { throw SmbException.wrap(e); } } /**
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 7.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/lease/LeaseManager.java
// Flush any cached data before eviction if (lease.hasWriteCache()) { flushCachedWrites(lease.getPath()); } if (lease.hasReadCache()) { invalidateReadCache(lease.getPath()); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 18.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java
StandardOpenOption.WRITE, StandardOpenOption.TRUNCATE_EXISTING))) { oos.writeObject(info); log.debug("Persisted handle: {}", info.getPath()); } catch (IOException e) { log.error("Failed to persist handle: " + info.getPath(), e); } } private void removePersistedHandle(HandleInfo info) { if (info.getType() != HandleType.PERSISTENT) { return;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:49:49 GMT 2025 - 13K bytes - Click Count (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/services/ModelSourceTest.java
assertNotNull(source); assertEquals(modelId, source.getModelId(), "Resolved source should return the provided modelId"); assertNull(source.getPath(), "Resolved sources should return null for getPath()"); assertEquals(path.toString(), source.getLocation()); } @Test void testModelIdFormat() { String location = "/tmp/test.xml";Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 2.5K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java
} @Override public String getPathForLocalMetadata(Metadata metadata) { return getPath(metadata, "local"); } @Override public String getPathForRemoteMetadata(Metadata metadata, RemoteRepository repository, String context) { return getPath(metadata, getRepositoryKey(repository, context)); } String getRepositoryKey(RemoteRepository repository, String context) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 5.6K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java
this.path = requireNonNull(path, "path").normalize(); this.location = location != null ? location : this.path.toString(); } @Override @Nullable public Path getPath() { return path; } @Override @Nonnull public InputStream openStream() throws IOException { return Files.newInputStream(path); }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 8.2K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbResourceLocatorImpl.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 23.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java
// Test with mock when(mockReferralData.getPath()).thenReturn(path); assertEquals(path, mockReferralData.getPath()); verify(mockReferralData, times(1)).getPath(); // Test with concrete implementation String concretePath = concreteImplementation.getPath(); // Should be path based on our initializationCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 28.2K bytes - Click Count (0)