File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
src/main/java/org/apache/hadoop/fs/glusterfs Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 6
6
<packaging >jar</packaging >
7
7
<!-- from now, we will update version manually and ignore maven snapshot
8
8
features -->
9
- <version >2.3.8 </version >
9
+ <version >2.3.10 </version >
10
10
<name >glusterfs-hadoop</name >
11
11
<url >http://maven.apache.org</url >
12
12
Original file line number Diff line number Diff line change @@ -21,15 +21,16 @@ public Version() {
21
21
}
22
22
catch (Throwable t ){
23
23
LOG .warn ("Couldn't find GIT properties for version info " +
24
- t . getMessage () +". This jar may have been built OUTSIDE a GIT repo." );
24
+ t +". This jar may have been built OUTSIDE a GIT repo." );
25
25
}
26
26
}
27
27
public String getTag (){
28
28
String commit = this .getProperty ("git.commit.id.describe" );
29
- String tag = commit != null ?
29
+ final String tag = commit != null ?
30
30
commit .split ("-" )[0 ]:
31
31
"no version info available. check log warnings." ;
32
- return commit .split ("-" )[0 ];
32
+
33
+ return tag ;
33
34
}
34
35
35
36
/**
You can’t perform that action at this time.
0 commit comments