Skip to content

Commit 11dd0ef

Browse files
committed
add back the Version class. deleted by accident
1 parent 7afe5d2 commit 11dd0ef

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
package org.apache.hadoop.fs.glusterfs;
2+
3+
import java.io.IOException;
4+
import java.util.Properties;
5+
6+
import org.slf4j.Logger;
7+
import org.slf4j.LoggerFactory;
8+
9+
public class Version extends Properties{
10+
final static Logger lg = LoggerFactory.getLogger(Version.class);
11+
public Version() {
12+
super();
13+
try{
14+
load(this.getClass().getClassLoader().getResourceAsStream("git.properties"));
15+
}
16+
catch(Throwable t){
17+
lg.error("Couldn't find git properties for version info " + t.getMessage());
18+
}
19+
}
20+
}

0 commit comments

Comments
 (0)