Skip to content

Commit

Permalink
release version 1.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
tvd12 committed Jan 30, 2019
1 parent 76bef12 commit 2d6c003
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<groupId>com.tvd12</groupId>
<artifactId>properties-file</artifactId>
<version>1.0.5-SNAPSHOT</version>
<version>1.0.6-SNAPSHOT</version>
<packaging>jar</packaging>

<name>properties-file</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ public List<Properties> read(Class<?> context, Collection<String> propertiesFile
public Properties read(Class<?> context, String propertiesFile)
throws PropertiesFileException {
InputStream inputStream = getResourceAsStream(context, propertiesFile);
if(inputStream == null)
inputStream = getResourceAsStream(context, "/" + propertiesFile);
if(inputStream == null)
inputStream = getInputStreamByAbsolutePath(propertiesFile);
if(inputStream == null)
Expand Down

0 comments on commit 2d6c003

Please sign in to comment.