- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 264 for getSite (0.05 seconds)
-
compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/FileProfileActivator.java
return profile.getActivation() != null && profile.getActivation().getFile() != null; } @Override public boolean isActive(Profile profile) { Activation activation = profile.getActivation(); ActivationFile actFile = activation.getFile(); if (actFile != null) { // check if the file exists, if it does then the profile will be active
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 3.6K bytes - Click Count (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/FileSettingsSource.java
/** * Gets the settings file of this model source. * * @return The underlying settings file, never {@code null}. * @deprecated instead use {@link #getFile()} */ @Deprecated public File getSettingsFile() { return getFile(); }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.6K bytes - Click Count (0) -
src/test/java/jcifs/SmbPipeHandleTest.java
*/ @Test public void testGetPipe() { assertEquals(mockPipeResource, smbPipeHandle.getPipe(), "getPipe() should return the underlying pipe resource."); } /** * Tests that the getter for the input stream returns the correct stream. * @throws CIFSException if an error occurs while getting the stream. */ @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java
} @Test void testGetSizeDefault() { // Test default file size value response = new SmbComQueryInformationResponse(mockConfig, 0L); assertEquals(0, response.getSize()); } @Test void testTimeConversionMethods() { // Test time conversion methods with timezone offset long serverTimeZoneOffset = 3600000L; // 1 hourCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.9K bytes - Click Count (0) -
src/main/java/org/codelibs/core/convert/IntegerConversionUtil.java
case Integer i -> i; case Number n -> n.intValue(); case String s -> toInteger(s); case java.util.Date d -> pattern != null ? Integer.valueOf(new SimpleDateFormat(pattern).format(d)) : (int) d.getTime(); case Boolean b -> b ? 1 : 0; default -> toInteger(o.toString()); }; } private static Integer toInteger(final String s) { if (StringUtil.isEmpty(s)) {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 3.2K bytes - Click Count (0) -
src/main/java/org/codelibs/core/convert/ShortConversionUtil.java
} else if (o instanceof java.util.Date) { if (pattern != null) { return Short.valueOf(new SimpleDateFormat(pattern).format(o)); } return (short) ((java.util.Date) o).getTime(); } else if (o instanceof Boolean) { return ((Boolean) o) ? (short) 1 : (short) 0; } else { return toShort(o.toString()); } }
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 3.8K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/FileProfileActivator.java
Activation activation = profile.getActivation(); if (activation == null) { return false; } ActivationFile file = activation.getFile(); if (file == null) { return false; } String path; boolean missing; if (StringUtils.isNotEmpty(file.getExists())) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 4.4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDependencyResolver.java
reactorProject.getArtifact().getFile()); } Map<String, Artifact> map = new HashMap<>(); for (Artifact artifact : resolvedArtifacts) { /** * MNG-6300: resolvedArtifacts can be cache result; this ensures reactor files are always up-to-date * During lifecycle the Artifact.getFile() can change from target/classes to the actual jar.
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 15.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbPipeOutputStreamTest.java
@Mock SmbFileHandleImpl fileHandle; private SmbPipeOutputStream newStream() throws CIFSException { // Arrange common constructor collaborators to avoid touching network/state when(handle.getPipe()).thenReturn(pipe); when(tree.isSMB2()).thenReturn(true); when(tree.getSendBufferSize()).thenReturn(4096); // Act return new SmbPipeOutputStream(handle, tree); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.4K bytes - Click Count (0) -
src/main/java/org/codelibs/core/convert/DoubleConversionUtil.java
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 3.6K bytes - Click Count (0)