Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 653 for setName (0.2 sec)

  1. 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)
  2. 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)
  3. 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)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/SourceMetaDataVisitor.java

            return typeMetaData;
        }
    
        private void extractElementTypeName(Type elementType, TypeMetaData typeMetaData) {
            elementType.ifVoidType(voidType -> typeMetaData.setName("void"));
            elementType.ifPrimitiveType(primitiveType -> typeMetaData.setName(primitiveType.asString()));
            elementType.ifWildcardType(wildcardType -> {
                if (!wildcardType.getExtendedType().isPresent() && !wildcardType.getSuperType().isPresent()) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. compat/maven-model/src/test/java/org/apache/maven/model/merge/MavenMergerTest.java

            Model target = new Model();
            target.setName( "TARGET" );
    
            Model source = new Model();
            source.setName( "SOURCE" );
    
            modelMerger.merge( target, source, true, null );
            assertThat( target.getName(), is( "SOURCE" ) );
    
            target.setName( "TARGET" );;
            modelMerger.merge( target, source, false, null );
            assertThat( target.getName(), is( "TARGET" ) );
        }
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.2K bytes
    - Viewed (0)
Back to top