()
| 234 | |
| 235 | |
| 236 | private String clientVersion() { |
| 237 | String version = getClass().getPackage().getImplementationVersion(); |
| 238 | // This will be null if the class is executed from outside its packaged |
| 239 | // jar, such as during tests. |
| 240 | return (version != null) ? version : "0.0.0"; |
| 241 | } |
| 242 | |
| 243 | |
| 244 | private String versionHeader() { |