- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 67 for renewed (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/context/CIFSContextCredentialWrapperTest.java
boolean renewed = wrapper.renewCredentials("locationHint", null); // Verify that renew() was called and credentials were updated assertTrue(renewed, "renewCredentials should return true when renewable credentials are renewed"); assertEquals(mockRenewedCredentialsInternal, wrapper.getCredentials(), "Credentials should be updated to renewed credentials"); verify(mockRenewableCredentials).renew(); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java
assertTrue(renewed instanceof SmbRenewableCredentials, "renewed credentials should still be SmbRenewableCredentials"); } else { assertNull(renewed, "renew() may return null for failed renewal"); } } @Test @DisplayName("Mockito: verify renew() interaction and return value")
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/jcifs/context/CIFSContextCredentialWrapper.java
final Credentials cred = getCredentials(); if (cred instanceof final SmbRenewableCredentials renewable) { final CredentialsInternal renewed = renewable.renew(); if (renewed != null) { this.creds = renewed; return true; } } final NtlmAuthenticator auth = NtlmAuthenticator.getDefault(); if (auth != null) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.8K bytes - Click Count (0) -
src/test/java/jcifs/CIFSContextTest.java
} @Test @DisplayName("Should renew credentials") void testRenewCredentials() { // Given String hint = "hint"; Throwable error = new Exception(); when(mockContext.renewCredentials(hint, error)).thenReturn(true); // When boolean renewed = mockContext.renewCredentials(hint, error); // ThenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.8K bytes - Click Count (0) -
internal/lru/lru.go
now := time.Now() // Check for existing item if ent, ok := c.items[key]; ok { c.evictList.MoveToFront(ent) c.removeFromBucket(ent) // remove the entry from its current bucket as expiresAt is renewed ent.Value = value ent.ExpiresAt = now.Add(c.ttl) c.addToBucket(ent) return false } // Add new item ent := c.evictList.PushFrontExpirable(key, value, now.Add(c.ttl)) c.items[key] = ent
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:35:55 GMT 2026 - 12.6K bytes - Click Count (0) -
src/main/java/jcifs/CIFSContext.java
*/ CIFSContext withCredentials(Credentials creds); /** * Attempt to renew credentials after authentication failure * * @param locationHint URL or location hint for credential renewal * @param error the error that triggered renewal * @return whether new credentials are obtained */ boolean renewCredentials(String locationHint, Throwable error);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/entity/ChatMessage.java
return ROLE_ASSISTANT.equals(role); } /** * Gets the HTML-rendered content. * * @return the HTML content, or null if not rendered */ public String getHtmlContent() { return htmlContent; } /** * Sets the HTML-rendered content. * * @param htmlContent the HTML content */
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 12 04:52:31 GMT 2026 - 10.1K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/DecorateReleaseNotes.java
import java.io.File; import java.util.Collections; import java.util.HashMap; import java.util.Map; /** * Takes a rendered release notes HTML file and decorates it with extra elements/content/links. */ @CacheableTask public abstract class DecorateReleaseNotes extends DefaultTask { /** * The rendered HTML release notes that need decoration. */ @InputFile @PathSensitive(PathSensitivity.NONE)Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Jan 22 12:08:23 GMT 2026 - 3.8K bytes - Click Count (0) -
architecture/standards/0010-gradle-properties-naming.md
Public properties are **stable properties**: they CANNOT be renamed or removed without notice. While we normally deprecate the feature or behavior itself, changes to the property cannot happen in a minor release. Public properties must be documented. **Internal properties** are not part of the Public API. Internal properties are **unstable properties**: they CAN be renamed or removed without notice. They are not intended for general use.
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Mar 06 09:25:54 GMT 2026 - 8K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/toolchain/java/JavaToolchain.java
* under the License. */ package org.apache.maven.toolchain.java; import org.apache.maven.toolchain.Toolchain; /** * JDK toolchain interface. * * @since 2.0.9, renamed from JavaToolChain in 3.2.4 * @deprecated Use {@link org.apache.maven.api.JavaToolchain} instead. */ @Deprecated(since = "4.0.0")Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun Mar 30 23:08:36 GMT 2025 - 1.1K bytes - Click Count (0)