Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for preprocessor (0.48 sec)

  1. maven-core/src/test/java/org/apache/maven/configuration/DefaultBeanConfiguratorTest.java

        void testPreAndPostProcessing() throws BeanConfigurationException {
            SomeBean bean = new SomeBean();
    
            Xpp3Dom config = toConfig("<file>${test}</file>");
    
            BeanConfigurationValuePreprocessor preprocessor = (value, type) -> {
                if (value != null && value.startsWith("${") && value.endsWith("}")) {
                    return value.substring(2, value.length() - 1);
                }
                return value;
            };
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 3.7K bytes
    - Viewed (0)
Back to top