File: Version.java

package info (click to toggle)
libtoolbar-java 1.3-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 240 kB
  • ctags: 413
  • sloc: java: 2,284; xml: 64; makefile: 10
file content (19 lines) | stat: -rw-r--r-- 461 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

package org.tigris.toolbar;

/**
 * A utility to return the version number of this release
 *
 * @author Bob Tarling
 * @stereotype utility
 */
public class Version {
	public static int RELEASE_NUMBER = 1;
	public static int MAJOR_REVISION_NUMBER = 2;
	public static int MINOR_REVISION_NUMBER = 0;
	private Version() {}
	
	public static String getVersion() {
		return RELEASE_NUMBER+"."+MAJOR_REVISION_NUMBER+"."+MINOR_REVISION_NUMBER;
	}
}