- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 91 for requireNonNull (0.2 sec)
-
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/Utils.java
public static Path getCanonicalPath(Path path) { requireNonNull(path, "path"); try { return path.toRealPath(); } catch (IOException e) { return getCanonicalPath(path.getParent()).resolve(path.getFileName()); } } @Nonnull public static Map<String, String> toMap(Properties properties) { requireNonNull(properties, "properties");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsule.java
private final Lookup lookup; public PlexusContainerCapsule(ClassLoader previousClassLoader, PlexusContainer plexusContainer) { this.previousClassLoader = requireNonNull(previousClassLoader, "previousClassLoader"); this.plexusContainer = requireNonNull(plexusContainer, "plexusContainer"); this.lookup = new DefaultLookup(plexusContainer); } @Override public Lookup getLookup() { return lookup;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.9K bytes - Viewed (0) -
compat/maven-toolchain-model/src/main/java/org/apache/maven/toolchain/model/BaseObject.java
import java.io.Serializable; import static java.util.Objects.requireNonNull; public abstract class BaseObject implements Serializable, Cloneable { protected transient ChildrenTracking childrenTracking; protected Object delegate; public BaseObject() {} public BaseObject(Object delegate, BaseObject parent) { this.delegate = requireNonNull(delegate, "delegate cannot be null");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReader.java
Objects.requireNonNull(remoteRepositoryManager, "remoteRepositoryManager cannot be null"); this.versionResolver = Objects.requireNonNull(versionResolver, "versionResolver cannot be null"); this.versionRangeResolver = Objects.requireNonNull(versionRangeResolver, "versionRangeResolver cannot be null"); this.artifactResolver = Objects.requireNonNull(artifactResolver, "artifactResolver cannot be null");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 17K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/handler/manager/LegacyArtifactHandlerManager.java
import org.apache.maven.artifact.handler.DefaultArtifactHandler; import org.apache.maven.eventspy.AbstractEventSpy; import org.apache.maven.execution.ExecutionEvent; import static java.util.Objects.requireNonNull; /** */ @Named @Singleton public class LegacyArtifactHandlerManager extends AbstractEventSpy { private final Map<String, ArtifactHandler> artifactHandlers;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.4K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseInvokerRequest.java
this.parserRequest = requireNonNull(parserRequest); this.cwd = requireNonNull(cwd); this.installationDirectory = requireNonNull(installationDirectory); this.userHomeDirectory = requireNonNull(userHomeDirectory); this.userProperties = requireNonNull(userProperties); this.systemProperties = requireNonNull(systemProperties);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.3K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelWriter.java
public class DefaultModelWriter implements ModelWriter { @Override public void write(File output, Map<String, Object> options, Model model) throws IOException { Objects.requireNonNull(output, "output cannot be null"); Objects.requireNonNull(model, "model cannot be null"); output.getParentFile().mkdirs(); write(new XmlStreamWriter(Files.newOutputStream(output.toPath())), options, model); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.4K bytes - Viewed (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/DefaultSettingsWriter.java
public class DefaultSettingsWriter implements SettingsWriter { @Override public void write(File output, Map<String, Object> options, Settings settings) throws IOException { Objects.requireNonNull(output, "output cannot be null"); Objects.requireNonNull(settings, "settings cannot be null"); output.getParentFile().mkdirs(); write(Files.newOutputStream(output.toPath()), options, settings); } @Override
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.8K bytes - Viewed (0) -
compat/maven-settings/src/main/java/org/apache/maven/settings/BaseObject.java
import java.io.Serializable; import static java.util.Objects.requireNonNull; public abstract class BaseObject implements Serializable, Cloneable { protected transient ChildrenTracking childrenTracking; protected Object delegate; public BaseObject() {} public BaseObject(Object delegate, BaseObject parent) { this.delegate = requireNonNull(delegate, "delegate cannot be null");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2K bytes - Viewed (0) -
compat/maven-model/src/main/java/org/apache/maven/model/BaseObject.java
import java.io.Serializable; import static java.util.Objects.requireNonNull; public abstract class BaseObject implements Serializable, Cloneable, InputLocationTracker { protected transient ChildrenTracking childrenTracking; protected Object delegate; public BaseObject() {} public BaseObject(Object delegate, BaseObject parent) { this.delegate = requireNonNull(delegate, "delegate cannot be null");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.1K bytes - Viewed (0)