- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 78 for setSession (0.05 sec)
-
compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java
MavenSession mavenSession = new MavenSession(container, session, mavenExecutionRequest, new DefaultMavenExecutionResult()); legacySupport.setSession(mavenSession); InternalSession iSession = new DefaultSession( mavenSession, resolverRepositorySystem, null, null,
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Feb 07 00:45:02 UTC 2025 - 10.7K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java
MavenSession session = new MavenSession( getContainer(), repoSession, new DefaultMavenExecutionRequest(), new DefaultMavenExecutionResult()); session.setSession(new DefaultSessionFactory( getContainer().lookup(RepositorySystem.class), getContainer().lookup(MavenRepositorySystem.class),
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 13.8K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java
public ProjectBuilder setArtifactId(String artifactId) { project.setArtifactId(artifactId); return this; } public ProjectBuilder setVersion(String version) { project.setVersion(version); return this; } // Dependencies //
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jan 24 17:29:44 UTC 2025 - 12.1K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/plugin/internal/DefaultPluginManager.java
MavenSession session = legacySupport.getSession(); if (plugin.getVersion() == null) { PluginVersionRequest versionRequest = new DefaultPluginVersionRequest( plugin, session.getRepositorySession(), project.getRemotePluginRepositories()); plugin.setVersion(pluginVersionResolver.resolve(versionRequest).getVersion()); } try {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 10.1K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java
managedDependencies = dependencyManagement == null ? null : dependencyManagement.getDependencies(); MavenSession session = legacySupport.getSession(); if (session != null) { if (session.getProjects() != null) { pomRepositories = session.getProjects().stream()
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Mar 26 10:49:22 UTC 2025 - 30.4K 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); } @Override
Registered: Sun Sep 07 00:10:21 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
}, validationErrorLambda); return null; }); } private OptionalThing<HttpSession> getSession() { final HttpSession session = request.getSession(false); if (session != null) { return OptionalEntity.of(session); } return OptionalEntity.empty(); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 6.8K 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(); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 30.4K bytes - Viewed (0) -
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 Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 11K bytes - Viewed (0)