static

in crud/src/main/java/org/apache/struts/crud/dao/MemoryPersonSupportDao.java [18:29]


    static {
        countries = new Country[] {new Country("ES", "Spain"),
                    new Country("IE", "Ireland"),
                    new Country("IT", "Italy"),
                    new Country("PL", "Poland"),
                    new Country("US", "Usa") };
        
        countriesMap = new HashMap<>();
        for (Country c : countries) {
            countriesMap.put(c.getCountryId(), c);
        }
    }