mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
[ZEPPELIN-715]Provide version information (fix style)
This commit is contained in:
parent
f5b2e66e8b
commit
c185a03366
2 changed files with 3 additions and 2 deletions
|
|
@ -207,6 +207,7 @@ public class Util {
|
|||
* @return Current Zeppelin version
|
||||
*/
|
||||
public static String getVersion() {
|
||||
return StringUtils.defaultIfEmpty(projectProperties.getProperty(PROJECT_PROPERTIES_VERSION_KEY), StringUtils.EMPTY);
|
||||
return StringUtils.defaultIfEmpty(projectProperties.getProperty(PROJECT_PROPERTIES_VERSION_KEY),
|
||||
StringUtils.EMPTY);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
version=${project.version}
|
||||
artifactId=${project.artifactId}
|
||||
artifactId=${project.artifactId}
|
||||
|
|
|
|||
Loading…
Reference in a new issue