- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for conversion (0.15 sec)
-
maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationValuePreprocessor.java
* requirement) for the preprocessor to resolve the value to a compatible value or a (string) value than can be * unmarshalled into that type. The preprocessor is not required to perform any type conversion but should rather * filter out incompatible values from its result. * * @param value The configuration value to preprocess, must not be {@code null}.
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 1.9K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java
} private static boolean isTypeCompatible(Class<?> type, Object value) { if (type.isInstance(value)) { return true; } // likely Boolean -> boolean, Short -> int etc. conversions, it's not the problem case we try to avoid return ((type.isPrimitive() || type.getName().startsWith("java.lang.")) && value.getClass().getName().startsWith("java.lang.")); }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Tue Oct 17 17:55:08 GMT 2023 - 16.7K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/project/MavenProject.java
// Delegate to the model // ---------------------------------------------------------------------- public void setModelVersion(String pomVersion) { getModel().setModelVersion(pomVersion); } public String getModelVersion() { return getModel().getModelVersion(); } public String getId() { return getModel().getId(); }
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-api-impl/src/main/java/org/apache/maven/internal/impl/model/BuildModelTransformer.java
version = resolvedParent.get().getVersion(); } } // CI Friendly version for parent String modVersion = replaceCiFriendlyVersion(context, version); builder.parent(parent.withVersion(modVersion)); } } // // CI friendly versions //
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 7.1K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4.java
} private static boolean isTypeCompatible(Class<?> type, Object value) { if (type.isInstance(value)) { return true; } // likely Boolean -> boolean, Short -> int etc. conversions, it's not the problem case we try to avoid return ((type.isPrimitive() || type.getName().startsWith("java.lang.")) && value.getClass().getName().startsWith("java.lang.")); }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Tue Jan 30 23:39:19 GMT 2024 - 9.8K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java
validateModelVersion(problems, m.getModelVersion(), m, VALID_MODEL_VERSIONS); String minVersion = new MavenModelVersion().getModelVersion(m); if (m.getModelVersion() != null && compareModelVersions(minVersion, m.getModelVersion()) > 0) { addViolation( problems, Severity.FATAL, Version.V40,
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 13:13:07 GMT 2024 - 73.1K bytes - Viewed (0)