esoe 2 years ago
parent
commit
14b8e16e79
  1. 3
      country/src/main/java/ru/molokoin/Country.java
  2. BIN
      country/target/classes/ru/molokoin/Country.class

3
country/src/main/java/ru/molokoin/Country.java

@ -12,8 +12,7 @@ public class Country extends Area{
//параметры страны //параметры страны
super(name, population, square); super(name, population, square);
//параметры столицы //параметры столицы
if (capitalName != null) if (capitalName != null) setCapital(new Area(capitalName
setCapital(new Area(capitalName
, capitalPopulation , capitalPopulation
, capitalSquare)); , capitalSquare));
if (capitalName == null){ if (capitalName == null){

BIN
country/target/classes/ru/molokoin/Country.class

Binary file not shown.
Loading…
Cancel
Save