]> source.dussan.org Git - poi.git/commitdiff
remove release date from version.java
authorPJ Fanning <fanningpj@apache.org>
Mon, 3 Jul 2023 21:01:19 +0000 (21:01 +0000)
committerPJ Fanning <fanningpj@apache.org>
Mon, 3 Jul 2023 21:01:19 +0000 (21:01 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910760 13f79535-47bb-0310-9956-ffa450edef68

poi/src/main/version/Version.java.template

index 716ec916bf7df78d4e4a1ca6bcdd354f3d609c5e..908964f84a44dbce2b7e97164c08a7be3101f03b 100644 (file)
@@ -27,7 +27,6 @@ package org.apache.poi;
  */
 public class Version {
        private static final String VERSION_STRING = "@VERSION@";
-       private static final String RELEASE_DATE = "@DSTAMP@";
 
        /**
         * Return the basic version string, of the form
@@ -37,13 +36,6 @@ public class Version {
                return VERSION_STRING;
        }
 
-       /**
-        * Return the date of the release / build
-        */
-       public static String getReleaseDate() {
-               return RELEASE_DATE;
-       }
-
        /**
         * Name of product: POI
         */
@@ -62,8 +54,7 @@ public class Version {
         */
        public static void main(String[] args) {
                System.out.println(
-                       "Apache " + getProduct() + " " +
-                       getVersion() + " (" + getReleaseDate() + ")"
+                       "Apache " + getProduct() + " " + getVersion()
                );
        }
 }