- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 70 for normalize (0.05 seconds)
-
api/maven-api-core/src/test/java/org/apache/maven/api/services/SourcesTest.java
assertEquals(path.normalize(), source.getPath()); } @Test void testBuildSource() { Path path = Paths.get("/tmp"); ModelSource source = Sources.buildSource(path); assertNotNull(source); assertInstanceOf(Sources.BuildPathSource.class, source); assertEquals(path.normalize(), source.getPath()); } @Test
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 5.4K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/toolchain/java/JavaToolchainFactory.java
"Java toolchain without the " + JavaToolchainImpl.KEY_JAVAHOME + " configuration element."); } Path normal = Paths.get(javahome.getValue()).normalize(); if (Files.exists(normal)) { jtc.setJavaHome(Paths.get(javahome.getValue()).normalize().toString()); } else { throw new MisconfiguredToolchainException(
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 4.1K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java
return null; } String s = stripBasedirToken(path); File file = new File(s); if (file.isAbsolute()) { // path was already absolute, just normalize file separator and we're done s = file.getPath(); } else if (file.getPath().startsWith(File.separator)) { // drive-relative Windows path, don't align with project directory but with drive rootCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 7.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/configuration/BasedirBeanConfigurationPathTranslator.java
result = path.getAbsoluteFile(); } else { // an ordinary relative path, align with base dir result = new File(new File(basedir, path.getPath()).toURI().normalize()).getAbsoluteFile(); } } return result; }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.1K bytes - Click Count (0) -
internal/event/target/kafka_scram_client_contrib.go
type XDGSCRAMClient struct { *scram.Client *scram.ClientConversation scram.HashGeneratorFcn } // Begin constructs a SCRAM client component based on a given hash.Hash // factory receiver. This constructor will normalize the username, password // and authzID via the SASLprep algorithm, as recommended by RFC-5802. If // SASLprep fails, the method returns an error. func (x *XDGSCRAMClient) Begin(userName, password, authzID string) (err error) {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 3.2K bytes - Click Count (0) -
internal/logger/target/kafka/kafka_scram_client_contrib.go
type XDGSCRAMClient struct { *scram.Client *scram.ClientConversation scram.HashGeneratorFcn } // Begin constructs a SCRAM client component based on a given hash.Hash // factory receiver. This constructor will normalize the username, password // and authzID via the SASLprep algorithm, as recommended by RFC-5802. If // SASLprep fails, the method returns an error. func (x *XDGSCRAMClient) Begin(userName, password, authzID string) (err error) {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 3.3K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/toolchain/java/JavaToolchainImpl.java
public String toString() { return "JDK[" + getJavaHome() + "]"; } @Override public String findTool(String toolName) { Path toRet = findTool(toolName, Paths.get(getJavaHome()).normalize()); if (toRet != null) { return toRet.toAbsolutePath().toString(); } return null; } private static Path findTool(String toolName, Path installDir) {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.6K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java
return context.userDirectory.resolve(userDefinedLocalRepo).normalize(); } // defaults return context.userDirectory .resolve(context.protoSession.getEffectiveProperties().get(Constants.MAVEN_USER_CONF)) .resolve("repository") .normalize(); }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Oct 28 13:01:07 GMT 2025 - 43.2K bytes - Click Count (0) -
cmd/iam.go
func (sys *IAMSys) createCleanEntitiesQuery(q madmin.PolicyEntitiesQuery, ldap bool) cleanEntitiesQuery { cleanQ := cleanEntitiesQuery{ Users: make(map[string]set.StringSet), Groups: set.CreateStringSet(q.Groups...), Policies: set.CreateStringSet(q.Policy...), } if ldap { // Validate and normalize users, then fetch and normalize their groups
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Oct 15 17:00:45 GMT 2025 - 76.5K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/FileModelSource.java
relatedPom = relatedPom.resolve("pom.xml"); } if (Files.isRegularFile(relatedPom) && Files.isReadable(relatedPom)) { return new FileModelSource(relatedPom.normalize()); } return null; } @Override public URI getLocationURI() { return getFile().toURI(); } @Override public boolean equals(Object obj) {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Apr 14 13:42:17 GMT 2025 - 2.8K bytes - Click Count (0)