private void reflectionStrippedProcessing() {
        HashMap<Object, Object> newEntries = new HashMap<>();
        for (Map.Entry<Object, Object> entry : props.entrySet()) {
            String key = (String) entry.getKey();
            int index = key.lastIndexOf('.');
            if (index == -1 || index == 0 || index == key.length() - 1) {
                continue;
            }
            String prefix = key.substring(0, index);
            String suffix = key.substring(index + 1);
            String newKey = ReflectionUtil.getCamelCase(prefix) + "." + suffix;
            if (!props.containsKey(newKey)) {
                newEntries.put(newKey, entry.getValue());
            }
        }
        props.putAll(newEntries);
    }
private void reflectionStrippedProcessing ( ) { HashMap < Object , Object > newEntries = new HashMap < > ( ) ; for ( Map . Entry < Object , Object > entry : props . entrySet ( ) ) { String key = ( String ) entry . getKey ( ) ; int index = key . lastIndexOf ( '.' ) ; if ( index == - 1 || index == 0 || index == key . length ( ) - 1 ) { continue ; } String prefix = key . substring ( 0 , index ) ; String suffix = key . substring ( index + 1 ) ; String newKey = ReflectionUtil . getCamelCase ( prefix ) + "." + suffix ; if ( ! props . containsKey ( newKey ) ) { newEntries . put ( newKey , entry . getValue ( ) ) ; } } props . putAll ( newEntries ) ; }
JavaIoFileOutputStream.level instead of java.io.FileOutputStream.level).