- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 107 for clone (0.14 sec)
-
maven-core/src/test/java/org/apache/maven/settings/SettingsUtilsTest.java
assertEquals(p.getActivation().getPackaging(), clone.getActivation().getPackaging()); assertEquals(p.getProperties(), clone.getProperties()); assertEquals(p.getRepositories().size(), clone.getRepositories().size()); // TODO deep compare the lists assertEquals( p.getPluginRepositories().size(), clone.getPluginRepositories().size());
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 6.7K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/project/MavenProject.java
* @since 2.0.9 */ @Override public MavenProject clone() { MavenProject clone; try { clone = (MavenProject) super.clone(); } catch (CloneNotSupportedException e) { throw new UnsupportedOperationException(e); } clone.deepCopy(this); return clone; } public void setModel(Model model) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Mar 01 17:18:13 GMT 2024 - 56.6K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/execution/MavenSession.java
@Override public MavenSession clone() { try { MavenSession clone = (MavenSession) super.clone(); // the default must become the current project of the thread that clones this MavenProject current = getCurrentProject(); // we replace the thread local of the clone to prevent write through and enforce the new default value
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 16.6K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginDescriptorCache.java
if (desc == null) { desc = supplier.load(); descriptors.putIfAbsent(key, clone(desc)); } } } return clone(desc); } catch (PluginDescriptorParsingException | PluginResolutionException | InvalidPluginDescriptorException e) { throw e; } }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Feb 28 23:31:49 GMT 2024 - 6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/Helpers.java
@GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault public class Helpers { // Clone of Objects.equal static boolean equal(@Nullable Object a, @Nullable Object b) { return a == b || (a != null && a.equals(b)); } // Clone of Lists.newArrayList public static <E extends @Nullable Object> List<E> copyToList(Iterable<? extends E> elements) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 17.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableEnumSet.java
} } /* * Notes on EnumSet and <E extends Enum<E>>: * * This class isn't an arbitrary ForwardingImmutableSet because we need to * know that calling {@code clone()} during deserialization will return an * object that no one else has a reference to, allowing us to guarantee * immutability. Hence, we support only {@link EnumSet}. */ private final transient EnumSet<E> delegate;
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 4.5K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelInterpolator.java
public interface ModelInterpolator { /** * Interpolates expressions in the specified model. Note that implementations are free to either interpolate the * provided model directly or to create a clone of the model and interpolate the clone. Callers should always use * the returned model and must not rely on the input model being updated. * * @param model The model to interpolate, must not be {@code null}.
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 2.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableEnumSet.java
} } /* * Notes on EnumSet and <E extends Enum<E>>: * * This class isn't an arbitrary ForwardingImmutableSet because we need to * know that calling {@code clone()} during deserialization will return an * object that no one else has a reference to, allowing us to guarantee * immutability. Hence, we support only {@link EnumSet}. */ private final transient EnumSet<E> delegate;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 4.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/MinimalCollection.java
MinimalCollection(Class<? super @NonNull E> type, boolean allowNulls, E... contents) { // TODO: consider making it shuffle the contents to test iteration order. this.contents = Platform.clone(contents); this.type = type; this.allowNulls = allowNulls; if (!allowNulls) { for (Object element : contents) { if (element == null) { throw new NullPointerException();
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 3.8K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java
MavenProject forkedProject = projectIndex.getProjects().get(projectId); forkedProjects.add(forkedProject); MavenProject executedProject = forkedProject.clone(); forkedProject.setExecutionProject(executedProject); List<MojoExecution> mojoExecutions = fork.getValue(); if (mojoExecutions.isEmpty()) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Feb 28 23:31:09 GMT 2024 - 20.7K bytes - Viewed (0)