From 3e0e08f0886f8867f1219a3637d35782987f5a3b Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Wed, 29 Apr 2009 10:17:58 -0700 Subject: [PATCH] rename SigarVersion -> Version --- bindings/java/build.xml | 2 +- bindings/java/src/org/hyperic/sigar/Sigar.java | 6 +++--- .../hyperic/sigar/{SigarVersion.java.in => Version.java.in} | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) rename bindings/java/src/org/hyperic/sigar/{SigarVersion.java.in => Version.java.in} (90%) diff --git a/bindings/java/build.xml b/bindings/java/build.xml index 1493fb67..890ba1c7 100644 --- a/bindings/java/build.xml +++ b/bindings/java/build.xml @@ -184,7 +184,7 @@ + value="src/org/hyperic/sigar/Version.java"/> diff --git a/bindings/java/src/org/hyperic/sigar/Sigar.java b/bindings/java/src/org/hyperic/sigar/Sigar.java index b7037e37..c927bb15 100644 --- a/bindings/java/src/org/hyperic/sigar/Sigar.java +++ b/bindings/java/src/org/hyperic/sigar/Sigar.java @@ -48,7 +48,7 @@ public class Sigar implements SigarProxy { * The Sigar java version. */ public static final String VERSION_STRING = - SigarVersion.VERSION_STRING; + Version.VERSION_STRING; /** * The Sigar native version. @@ -59,7 +59,7 @@ public class Sigar implements SigarProxy { * The scm (svn) revision from which sigar.jar was built. */ public static final String SCM_REVISION = - SigarVersion.SCM_REVISION; + Version.SCM_REVISION; /** * The scm (svn) revision from which the sigar native binary was built. @@ -70,7 +70,7 @@ public class Sigar implements SigarProxy { * The date on which sigar.jar was built. */ public static final String BUILD_DATE = - SigarVersion.BUILD_DATE; + Version.BUILD_DATE; /** * The date on which the sigar native binary was built. diff --git a/bindings/java/src/org/hyperic/sigar/SigarVersion.java.in b/bindings/java/src/org/hyperic/sigar/Version.java.in similarity index 90% rename from bindings/java/src/org/hyperic/sigar/SigarVersion.java.in rename to bindings/java/src/org/hyperic/sigar/Version.java.in index de9ea078..630bf60f 100644 --- a/bindings/java/src/org/hyperic/sigar/SigarVersion.java.in +++ b/bindings/java/src/org/hyperic/sigar/Version.java.in @@ -1,6 +1,6 @@ package org.hyperic.sigar; -class SigarVersion { +class Version { static final String BUILD_DATE = "@@BUILD_DATE@@";