- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 380 for setName (0.07 sec)
-
compat/maven-compat/src/main/java/org/apache/maven/profiles/ProfilesConversionUtils.java
if (profileProp != null) { ActivationProperty prop = new ActivationProperty(); prop.setName(profileProp.getName()); prop.setValue(profileProp.getValue()); activation.setProperty(prop); } ActivationOS profileOs = profileActivation.getOs();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.8K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/Callables.java
private static boolean trySetName(String threadName, Thread currentThread) { /* * setName should usually succeed, but the security manager can prohibit it. Is there a way to * see if we have the modifyThread permission without catching an exception? */ try { currentThread.setName(threadName); return true; } catch (SecurityException e) { return false; } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 18:32:03 UTC 2023 - 4.4K bytes - Viewed (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();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/impl/sub/MogeBeanImpl.java
} /** * @param name */ public MogeBeanImpl(final String name) { this.name = name; } @Override public String getName() { return name; } @Override public void setName(final String name) { this.name = name; }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.1K bytes - Viewed (0) -
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()); } public void testToStringNotNonsense10() { Organization org = new Organization(); org.setName("Testing Maven Unit");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.6K bytes - Viewed (0) -
compat/maven-plugin-api/src/test/java/org/apache/maven/plugin/descriptor/MojoDescriptorTest.java
class MojoDescriptorTest { @Test void getParameterMap() throws DuplicateParameterException { MojoDescriptor mojoDescriptor = new MojoDescriptor(); Parameter param1 = new Parameter(); param1.setName("param1"); param1.setDefaultValue("value1"); mojoDescriptor.addParameter(param1); assertEquals(1, mojoDescriptor.getParameters().size()); assertEquals(
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Callables.java
private static boolean trySetName(String threadName, Thread currentThread) { /* * setName should usually succeed, but the security manager can prohibit it. Is there a way to * see if we have the modifyThread permission without catching an exception? */ try { currentThread.setName(threadName); return true; } catch (SecurityException e) { return false; } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 18:32:03 UTC 2023 - 4.4K bytes - Viewed (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 {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Aug 12 07:26:27 UTC 2021 - 4.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/AbstractTransformer.java
/** * @author shinsuke * */ public abstract class AbstractTransformer implements Transformer { protected String name; public void setName(final String name) { this.name = name; } @Override public String getName() { return name; }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 1012 bytes - Viewed (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());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.1K bytes - Viewed (0)