summaryrefslogtreecommitdiffstats
path: root/vpp-japi/japi/org/openvpp/vppjapi/vppVersion.java
diff options
context:
space:
mode:
Diffstat (limited to 'vpp-japi/japi/org/openvpp/vppjapi/vppVersion.java')
-rw-r--r--vpp-japi/japi/org/openvpp/vppjapi/vppVersion.java21
1 files changed, 10 insertions, 11 deletions
diff --git a/vpp-japi/japi/org/openvpp/vppjapi/vppVersion.java b/vpp-japi/japi/org/openvpp/vppjapi/vppVersion.java
index 557ca7b79ee..6408dee2754 100644
--- a/vpp-japi/japi/org/openvpp/vppjapi/vppVersion.java
+++ b/vpp-japi/japi/org/openvpp/vppjapi/vppVersion.java
@@ -15,18 +15,17 @@
package org.openvpp.vppjapi;
-public class vppVersion {
- public String programName;
- public String buildDirectory;
- public String gitBranch;
- public String buildDate;
+public final class vppVersion {
+ public final String programName;
+ public final String buildDirectory;
+ public final String gitBranch;
+ public final String buildDate;
- public vppVersion(String _progName, String _buildDir, String _gitBranch, String _buildDate)
- {
- programName = _progName;
- buildDirectory = _buildDir;
- gitBranch = _gitBranch;
- buildDate = _buildDate;
+ public vppVersion(String progName, String buildDir, String gitBranch, String buildDate) {
+ this.programName = progName;
+ this.buildDirectory = buildDir;
+ this.gitBranch = gitBranch;
+ this.buildDate = buildDate;
}
}