[ZEPPELIN-715]Provide version information (fix style)

This commit is contained in:
Minwoo Kang 2016-03-23 14:53:33 +09:00
parent f5b2e66e8b
commit c185a03366
2 changed files with 3 additions and 2 deletions

View file

@ -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);
}
}

View file

@ -1,2 +1,2 @@
version=${project.version}
artifactId=${project.artifactId}
artifactId=${project.artifactId}