rename SigarVersion -> Version

This commit is contained in:
Doug MacEachern 2009-04-29 10:17:58 -07:00
parent ec3fbe993c
commit 3e0e08f088
3 changed files with 5 additions and 5 deletions

View File

@ -184,7 +184,7 @@
<antcall target="version-file">
<param name="version.file"
value="src/org/hyperic/sigar/SigarVersion.java"/>
value="src/org/hyperic/sigar/Version.java"/>
</antcall>
<antcall target="version-file">

View File

@ -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.

View File

@ -1,6 +1,6 @@
package org.hyperic.sigar;
class SigarVersion {
class Version {
static final String BUILD_DATE = "@@BUILD_DATE@@";