- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 305 for getSession (0.07 sec)
-
compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java
public void sessionStarted(ExecutionEvent event) { if (logger.isInfoEnabled() && event.getSession().getProjects().size() > 1) { init(); infoLine('-'); infoMain("Reactor Build Order:"); logger.info(""); final List<MavenProject> projects = event.getSession().getProjects(); for (MavenProject project : projects) {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Nov 08 08:49:11 UTC 2024 - 17.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeHandleImpl.java
this.resourceLoc = resourceLoc; this.treeConnection = treeConnection.acquire(); } @Override public SmbSessionImpl getSession() { return this.treeConnection.getSession(); } @Override public void ensureDFSResolved() throws CIFSException { this.treeConnection.ensureDFSResolved(this.resourceLoc); } @OverrideRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/login/LoginAction.java
messages.addErrorsLoginError(GLOBAL); }, validationErrorLambda); }); } private OptionalThing<HttpSession> getSession() { final HttpSession session = request.getSession(false); if (session != null) { return OptionalEntity.of(session); } return OptionalEntity.empty(); }
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 27 07:01:25 UTC 2025 - 7.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java
} @Test @DisplayName("getSession(): may return null and should be observed as such") void getSession_returnsNull() { // Arrange when(handle.getSession()).thenReturn(null); // Act SmbSession result = handle.getSession(); // Assert assertNull(result); verify(handle).getSession(); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/event/ExecutionEventLogger.java
public void sessionStarted(ExecutionEvent event) { if (logger.isInfoEnabled() && event.getSession().getProjects().size() > 1) { init(); infoLine('-'); infoMain("Reactor Build Order:"); logger.info(""); final List<MavenProject> projects = event.getSession().getProjects(); for (MavenProject project : projects) {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Dec 13 15:40:45 UTC 2024 - 17.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
* * @return session that this file has been loaded through */ @SuppressWarnings("resource") public SmbSessionImpl getSession() { final SmbTreeImpl t = getTreeInternal(); if (t != null) { return t.getSession(); } return null; } /** * * Only call this method while holding a tree handle *Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 30.4K bytes - Viewed (1) -
compat/maven-compat/src/test/java/org/apache/maven/toolchain/DefaultToolchainManagerTest.java
toolchainModels.add(ToolchainModel.newBuilder().type("unknown").build()); when(session.getRequest()).thenReturn(executionRequest); Session sessionv4 = mock(Session.class); when(session.getSession()).thenReturn(sessionv4); when(sessionv4.getToolchains()).thenReturn(toolchainModels); List<Toolchain> toolchains = toolchainManager.getToolchains(session, "unknown", null);
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 11K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/plugin/internal/DefaultLegacySupportTest.java
defaultLegacySupport.setSession(m1); MyRunnable myRunnable = new MyRunnable(); Thread thread = new Thread(myRunnable); thread.start(); MavenSession m2 = new MavenSession(null, null, mavenExecutionRequest, null); defaultLegacySupport.setSession(m2); latch.countDown(); thread.join(); assertNull(myRunnable.getSession()); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 2.4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java
@Inject private ArtifactRepositoryFactory artifactRepositoryFactory; @Override public AuthenticationInfo getAuthenticationInfo(String id) { MavenSession session = legacySupport.getSession(); if (session != null && id != null) { MavenExecutionRequest request = session.getRequest(); if (request != null) { List<Server> servers = request.getServers();Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 6.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
} @Test @DisplayName("getSession returns underlying session from tree connection") void getSessionReturnsUnderlying() { // Verifies getSession() exposes the session provided by the connection assertSame(session, handle.getSession()); verify(treeConnection).getSession(); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0)