- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 211 for SetName (0.06 seconds)
-
compat/maven-model/src/test/java/org/apache/maven/model/OrganizationTest.java
Organization org = new Organization(); org.setName("Testing Maven Unit"); org.setUrl("https://maven.localdomain"); assertEquals("Organization {name=Testing Maven Unit, url=https://maven.localdomain}", org.toString()); } @Test public void testToStringNotNonsense10() { Organization org = new Organization(); org.setName("Testing Maven Unit");
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 2.7K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java
syspropActivated.setId("syspropActivated"); Activation syspropActivation = new Activation(); ActivationProperty syspropProperty = new ActivationProperty(); syspropProperty.setName("java.version"); syspropActivation.setProperty(syspropProperty); syspropActivated.setActivation(syspropActivation); Profile defaultActivated = new Profile();
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sun Mar 30 23:08:36 GMT 2025 - 6.4K bytes - Click Count (0) -
samples/crawler/src/main/java/okhttp3/sample/Crawler.java
} Thread currentThread = Thread.currentThread(); String originalName = currentThread.getName(); currentThread.setName("Crawler " + url); try { fetch(url); } catch (IOException e) { System.out.printf("XXX: %s %s%n", url, e); } finally { currentThread.setName(originalName); } } } public void fetch(HttpUrl url) throws IOException {Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Jul 23 00:58:06 GMT 2025 - 5K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/MultiThreadedBuilder.java
final String originalThreadName = currentThread.getName(); final MavenProject project = projectBuild.getProject(); final String threadNameSuffix = duplicateArtifactIds.contains(project.getArtifactId()) ? project.getGroupId() + ":" + project.getArtifactId() : project.getArtifactId(); currentThread.setName("mvn-builder-" + threadNameSuffix); try {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 16 03:42:09 GMT 2025 - 8.9K bytes - Click Count (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java
this.setVersion(original.getVersion()); this.setGoalPrefix(original.getGoalPrefix()); this.setInheritedByDefault(original.isInheritedByDefault()); this.setName(original.getName()); this.setDescription(original.getDescription()); this.setRequiredMavenVersion(original.getRequiredMavenVersion()); this.setRequiredJavaVersion(original.getRequiredJavaVersion());
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 16.2K bytes - Click Count (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/Parameter.java
public Parameter() {} public Parameter(org.apache.maven.api.plugin.descriptor.Parameter p) { this.setAlias(p.getAlias()); this.setName(p.getName()); this.setRequired(p.isRequired()); this.setEditable(p.isEditable()); this.setDescription(p.getDescription()); this.setExpression(p.getExpression());Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 5.1K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Init.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 12K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/MailingListTest.java
void testToStringNullSafe() { assertNotNull(new MailingList().toString()); } @Test public void testToStringNotNonsense() { MailingList list = new MailingList(); list.setName("modello-dev"); String s = list.toString(); assertEquals("MailingList {name=modello-dev, archive=null}", s); }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 1.9K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/LicenseTest.java
@Test void testToStringNullSafe() { assertNotNull(new License().toString()); } @Test public void testToStringNotNonsense() { License license = new License(); license.setName("Unlicense"); license.setUrl("http://lic.localdomain"); String s = license.toString(); assertEquals("License {name=Unlicense, url=http://lic.localdomain}", s); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 1.9K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java
* which does not have an equivalent). */ public ThreadFactoryBuilder() {} /** * Sets the naming format to use when naming threads ({@link Thread#setName}) which are created * with this ThreadFactory. * * <p><b>Java 21+ users:</b> use {@link Thread.Builder#name(String, long)} instead. Note that
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:35:26 GMT 2025 - 9K bytes - Click Count (0)