Skip to content

Commit

Permalink
Merge branch 'master' into meta-java
Browse files Browse the repository at this point in the history
  • Loading branch information
sazzad16 committed Oct 19, 2023
2 parents 10aeb68 + 7882756 commit 98b8cb7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main/java/redis/clients/jedis/JedisMetaInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,12 @@ class JedisMetaInfo {

static {
Properties p = new Properties();
try (InputStream in = JedisMetaInfo.class.getClassLoader().getResourceAsStream("pom.properties")) {
try (InputStream in = JedisMetaInfo.class.getClassLoader()
.getResourceAsStream("redis/clients/jedis/pom.properties")) {
p.load(in);
} catch (Exception e) {
LoggerFactory.getLogger(JedisMetaInfo.class).error("Load Jedis meta info from pom.properties failed", e);
LoggerFactory.getLogger(JedisMetaInfo.class)
.error("Load Jedis meta info from pom.properties failed", e);
}

groupId = p.getProperty("groupId", null);
Expand Down
File renamed without changes.

0 comments on commit 98b8cb7

Please sign in to comment.