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

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

Binary file not shown.
Loading…
Cancel
Save