tunnel: Remove MISSING_VALUE from BadConfigException reasons
This is covered under SYNTAX_ERROR which feels like a reasonable choice, so get rid of this unused field and associated resource string. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
f5d2fd6190
commit
6c8a4a6a28
@ -96,7 +96,6 @@ public class BadConfigException extends Exception {
|
||||
INVALID_VALUE,
|
||||
MISSING_ATTRIBUTE,
|
||||
MISSING_SECTION,
|
||||
MISSING_VALUE,
|
||||
SYNTAX_ERROR,
|
||||
UNKNOWN_ATTRIBUTE,
|
||||
UNKNOWN_SECTION
|
||||
|
@ -37,7 +37,6 @@ public final class ErrorMessages {
|
||||
BadConfigException.Reason.INVALID_VALUE, R.string.bad_config_reason_invalid_value,
|
||||
BadConfigException.Reason.MISSING_ATTRIBUTE, R.string.bad_config_reason_missing_attribute,
|
||||
BadConfigException.Reason.MISSING_SECTION, R.string.bad_config_reason_missing_section,
|
||||
BadConfigException.Reason.MISSING_VALUE, R.string.bad_config_reason_missing_value,
|
||||
BadConfigException.Reason.SYNTAX_ERROR, R.string.bad_config_reason_syntax_error,
|
||||
BadConfigException.Reason.UNKNOWN_ATTRIBUTE, R.string.bad_config_reason_unknown_attribute,
|
||||
BadConfigException.Reason.UNKNOWN_SECTION, R.string.bad_config_reason_unknown_section
|
||||
|
@ -39,7 +39,6 @@
|
||||
<string name="bad_config_reason_invalid_value">अमान्य मूल्य</string>
|
||||
<string name="bad_config_reason_missing_attribute">गुम विशेषता</string>
|
||||
<string name="bad_config_reason_missing_section">छूटा हुआ भाग</string>
|
||||
<string name="bad_config_reason_missing_value">अनुपस्थित मान</string>
|
||||
<string name="bad_config_reason_syntax_error">वक्य रचना त्रुटि</string>
|
||||
<string name="bad_config_reason_unknown_attribute">अज्ञात एट्रिब्यूट</string>
|
||||
<string name="bad_config_reason_unknown_section">अज्ञात एट्रिब्यूट </string>
|
||||
|
@ -39,7 +39,6 @@
|
||||
<string name="bad_config_reason_invalid_value">Valore non valido</string>
|
||||
<string name="bad_config_reason_missing_attribute">Attributo mancante</string>
|
||||
<string name="bad_config_reason_missing_section">Sezione mancante</string>
|
||||
<string name="bad_config_reason_missing_value">Valore mancante</string>
|
||||
<string name="bad_config_reason_syntax_error">Errore di sintassi</string>
|
||||
<string name="bad_config_reason_unknown_attribute">Attributo sconosciuto</string>
|
||||
<string name="bad_config_reason_unknown_section">Sezione sconosciuta</string>
|
||||
|
@ -33,7 +33,6 @@
|
||||
<string name="bad_config_reason_invalid_value">無効な値</string>
|
||||
<string name="bad_config_reason_missing_attribute">属性が不足しています</string>
|
||||
<string name="bad_config_reason_missing_section">セクションが不足しています</string>
|
||||
<string name="bad_config_reason_missing_value">値が不足しています</string>
|
||||
<string name="bad_config_reason_syntax_error">構文エラー</string>
|
||||
<string name="bad_config_reason_unknown_attribute">未知の属性</string>
|
||||
<string name="bad_config_reason_unknown_section">未知のセクション</string>
|
||||
|
@ -39,7 +39,6 @@
|
||||
<string name="bad_config_reason_invalid_value">Неправильное значение</string>
|
||||
<string name="bad_config_reason_missing_attribute">Несуществующий атрибут</string>
|
||||
<string name="bad_config_reason_missing_section">Несуществующий раздел</string>
|
||||
<string name="bad_config_reason_missing_value">Несуществющее значение</string>
|
||||
<string name="bad_config_reason_syntax_error">Синтаксическая ошибка</string>
|
||||
<string name="bad_config_reason_unknown_attribute">Неизвестный атрибут</string>
|
||||
<string name="bad_config_reason_unknown_section">Неизвестный раздел</string>
|
||||
|
@ -33,7 +33,6 @@
|
||||
<string name="bad_config_reason_invalid_value">数值无效</string>
|
||||
<string name="bad_config_reason_missing_attribute">属性缺失</string>
|
||||
<string name="bad_config_reason_missing_section">节缺失</string>
|
||||
<string name="bad_config_reason_missing_value">数值缺失</string>
|
||||
<string name="bad_config_reason_syntax_error">语法错误</string>
|
||||
<string name="bad_config_reason_unknown_attribute">属性未知</string>
|
||||
<string name="bad_config_reason_unknown_section">节未知</string>
|
||||
|
@ -39,7 +39,6 @@
|
||||
<string name="bad_config_reason_invalid_value">Invalid value</string>
|
||||
<string name="bad_config_reason_missing_attribute">Missing attribute</string>
|
||||
<string name="bad_config_reason_missing_section">Missing section</string>
|
||||
<string name="bad_config_reason_missing_value">Missing value</string>
|
||||
<string name="bad_config_reason_syntax_error">Syntax error</string>
|
||||
<string name="bad_config_reason_unknown_attribute">Unknown attribute</string>
|
||||
<string name="bad_config_reason_unknown_section">Unknown section</string>
|
||||
|
Loading…
Reference in New Issue
Block a user