mirror of https://github.com/apache/poi.git
remove release date from version.java
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910760 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
04442923f3
commit
23caf67c58
|
@ -27,7 +27,6 @@ package org.apache.poi;
|
||||||
*/
|
*/
|
||||||
public class Version {
|
public class Version {
|
||||||
private static final String VERSION_STRING = "@VERSION@";
|
private static final String VERSION_STRING = "@VERSION@";
|
||||||
private static final String RELEASE_DATE = "@DSTAMP@";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return the basic version string, of the form
|
* Return the basic version string, of the form
|
||||||
|
@ -37,13 +36,6 @@ public class Version {
|
||||||
return VERSION_STRING;
|
return VERSION_STRING;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Return the date of the release / build
|
|
||||||
*/
|
|
||||||
public static String getReleaseDate() {
|
|
||||||
return RELEASE_DATE;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Name of product: POI
|
* Name of product: POI
|
||||||
*/
|
*/
|
||||||
|
@ -62,8 +54,7 @@ public class Version {
|
||||||
*/
|
*/
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
System.out.println(
|
System.out.println(
|
||||||
"Apache " + getProduct() + " " +
|
"Apache " + getProduct() + " " + getVersion()
|
||||||
getVersion() + " (" + getReleaseDate() + ")"
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue