"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tools/src/java/org/apache/lucene/dependencies/InterpolatedProperties.java" between
lucene-7.6.0-src.tgz and lucene-7.7.0-src.tgz

About: Lucene is a Java full-text search engine (not a complete application, but rather a code library and API; java source code).

InterpolatedProperties.java  (lucene-7.6.0-src.tgz):InterpolatedProperties.java  (lucene-7.7.0-src.tgz)
skipping to change at line 24 skipping to change at line 24
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.apache.lucene.dependencies; package org.apache.lucene.dependencies;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.Reader; import java.io.Reader;
import java.util.Arrays; import java.util.Arrays;
import java.util.Enumeration; import java.util.Enumeration;
import java.util.HashMap;
import java.util.HashSet; import java.util.HashSet;
import java.util.LinkedHashMap; import java.util.LinkedHashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import java.util.Properties; import java.util.Properties;
import java.util.Set; import java.util.Set;
import java.util.function.BiFunction;
import java.util.function.Consumer;
import java.util.function.Function;
import java.util.regex.Matcher; import java.util.regex.Matcher;
import java.util.regex.Pattern; import java.util.regex.Pattern;
import java.util.stream.Collectors; import java.util.stream.Collectors;
/** /**
* Parse a properties file, performing recursive Ant-like * Parse a properties file, performing recursive Ant-like
* property value interpolation, and return the resulting Properties. * property value interpolation, and return the resulting Properties.
*/ */
public class InterpolatedProperties extends Properties { public class InterpolatedProperties extends Properties {
private static final Pattern PROPERTY_REFERENCE_PATTERN = Pattern.compile("\\$ \\{(?<name>[^}]+)\\}"); private static final Pattern PROPERTY_REFERENCE_PATTERN = Pattern.compile("\\$ \\{(?<name>[^}]+)\\}");
 End of changes. 2 change blocks. 
4 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)