Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getChildCount (0.05 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedCompositeBeanHelper.java

            }
    
            Object value = defaultValue;
            TypeLiteral<?> paramType = TypeLiteral.get(setterInfo.parameterType);
    
            if (!paramType.getRawType().isInstance(value)) {
                if (configuration.getChildCount() > 0) {
                    throw new ComponentConfigurationException(
                            "Basic element '" + configuration.getName() + "' must not contain child elements");
                }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Nov 12 14:59:46 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                        throw new ComponentConfigurationException(configuration, msg, e);
                    }
                }
    
                if (value == null && (config == null || config.getChildCount() <= 0)) {
                    invalidParameters.add(parameter);
                }
            }
    
            if (!invalidParameters.isEmpty()) {
                throw new PluginParameterException(mojoDescriptor, invalidParameters);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 09 16:35:21 UTC 2025
    - 46.4K bytes
    - Viewed (0)
Back to top