File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
main/java/co/elastic/clients/transport
main-flavored/java/co/elastic/clients/transport Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 22
22
// Package private
23
23
class VersionInfo {
24
24
static final String FLAVOR = "stack" ;
25
- static final String VERSION = "8.11 .0" ;
25
+ static final String VERSION = "8.15 .0" ;
26
26
}
Original file line number Diff line number Diff line change @@ -159,7 +159,8 @@ public String toString() {
159
159
try (BufferedReader vsReader = new BufferedReader (new FileReader (path .toFile ()))) {
160
160
version = Version .parse (vsReader .readLine ());
161
161
} catch (Exception e ) {
162
- // Failed to parse version
162
+ // Failed to parse version from file, trying from VersionInfo
163
+ version = Version .parse (VersionInfo .VERSION );
163
164
}
164
165
VERSION = version ;
165
166
}
You can’t perform that action at this time.
0 commit comments