From 638e0883a352ea1194b15c7d4a3a65ab3e0c5a97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Silvio=20Br=C3=A4ndle?= Date: Fri, 24 Jan 2025 14:25:13 +0000 Subject: [PATCH] Remove trailing underscores on fields of PhoneContext --- .../i18n/phonenumbers/PhoneContextParser.java | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/java/libphonenumber/src/com/google/i18n/phonenumbers/PhoneContextParser.java b/java/libphonenumber/src/com/google/i18n/phonenumbers/PhoneContextParser.java index de1c7e8fa..894a1e34f 100644 --- a/java/libphonenumber/src/com/google/i18n/phonenumbers/PhoneContextParser.java +++ b/java/libphonenumber/src/com/google/i18n/phonenumbers/PhoneContextParser.java @@ -129,7 +129,7 @@ final class PhoneContextParser { /** Represents the parsed phone-context parameter of an RFC3966 tel-URI. */ static class PhoneContext { /** The raw value of the phone-context parameter. */ - private String rawContext_ = null; + private String rawContext = null; /** * The country code of the phone-context parameter if the phone-context parameter is exactly @@ -139,27 +139,27 @@ final class PhoneContextParser { * For example, if the phone-context parameter is "+1", the country code is 1. If the * phone-context parameter is "+123", the country code is null. */ - private Integer countryCode_ = null; + private Integer countryCode = null; - /** Get the value for {@link #rawContext_} */ + /** Get the value for {@link #rawContext} */ String getRawContext() { - return rawContext_; + return rawContext; } - /** Set the value for {@link #rawContext_} */ + /** Set the value for {@link #rawContext} */ PhoneContext setRawContext(String value) { - rawContext_ = value; + rawContext = value; return this; } - /** Get the value for {@link #countryCode_} */ + /** Get the value for {@link #countryCode} */ Integer getCountryCode() { - return countryCode_; + return countryCode; } - /** Set the value for {@link #countryCode_} */ + /** Set the value for {@link #countryCode} */ PhoneContext setCountryCode(Integer value) { - countryCode_ = value; + countryCode = value; return this; } }