Skip to content

Instantly share code, notes, and snippets.

@flutesa
Created July 23, 2015 11:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save flutesa/3c9092731a4932f51e38 to your computer and use it in GitHub Desktop.
Save flutesa/3c9092731a4932f51e38 to your computer and use it in GitHub Desktop.
case "Телефон:":
switch (value) {
case "Телефона нет":
flat.setPhoneExists(false);
return;
case "Спаренный":
case "Есть телефон":
case "Дом каблирован":
case "Есть два телефона":
flat.setPhoneExists(true);
return;
default:
throw new IllegalArgumentException("Unknown tag for phoneExists: '" + rowTitle + "' = '" + value + "'");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment