scripts/src/main/java/com/gu/typesafe/config/impl/SimpleConfig.java [373:384]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        List<T> l = new ArrayList<T>();
        List<? extends com.gu.typesafe.config.ConfigValue> list = getList(path);
        for (com.gu.typesafe.config.ConfigValue cv : list) {
            // variance would be nice, but stupid cast will do
            com.gu.typesafe.config.impl.AbstractConfigValue v = (com.gu.typesafe.config.impl.AbstractConfigValue) cv;
            if (expected != null) {
                v = DefaultTransformer.transform(v, expected);
            }
            if (v.valueType() != expected)
                throw new com.gu.typesafe.config.ConfigException.WrongType(v.origin(), path,
                        "list of " + expected.name(), "list of "
                                + v.valueType().name());
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



scripts/src/main/java/com/gu/typesafe/config/impl/SimpleConfig.java [467:478]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        List<T> l = new ArrayList<T>();
        List<? extends com.gu.typesafe.config.ConfigValue> list = getList(path);
        for (com.gu.typesafe.config.ConfigValue cv : list) {
            // variance would be nice, but stupid cast will do
            com.gu.typesafe.config.impl.AbstractConfigValue v = (com.gu.typesafe.config.impl.AbstractConfigValue) cv;
            if (expected != null) {
                v = DefaultTransformer.transform(v, expected);
            }
            if (v.valueType() != expected)
                throw new com.gu.typesafe.config.ConfigException.WrongType(v.origin(), path,
                        "list of " + expected.name(), "list of "
                                + v.valueType().name());
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



