aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--java/CarrierConfigConverterV2.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/CarrierConfigConverterV2.java b/java/CarrierConfigConverterV2.java
index 2351e33..830bb3c 100644
--- a/java/CarrierConfigConverterV2.java
+++ b/java/CarrierConfigConverterV2.java
@@ -100,7 +100,7 @@ public final class CarrierConfigConverterV2 {
private String outputDir = "/tmp/carrierconfig/out";
@Parameter(names = "--version", description = "The version number for all output textpb.")
- private int version = 1;
+ private long version = 1L;
// For configs in vendor.xml w/o mcc/mnc, they are the default config values for all carriers.
// In CarrierSettings, a special mcc/mnc "000000" is used to look up default config.
@@ -127,7 +127,7 @@ public final class CarrierConfigConverterV2 {
/** Entry point when invoked from other Java code, eg. the server side conversion tool. */
public static void convert(
- String vendorXmlFile, String assetsDirName, String outputDir, int version)
+ String vendorXmlFile, String assetsDirName, String outputDir, long version)
throws IOException {
CarrierConfigConverterV2 converter = new CarrierConfigConverterV2();
converter.vendorXmlFiles = ImmutableList.of(vendorXmlFile);