<commit_before>package brooklyn.location.basic

import brooklyn.location.Location

/**
 * Created by IntelliJ IDEA.
 * User: richard
 * Date: 04/07/2011
 * Time: 16:12
 * To change this template use File | Settings | File Templates.
 */
public abstract class AbstractLocation {

    private String name
    private Location parentLocation
    private Collection<Location> childLocations = []
    private Collection<Location> childLocationsReadOnly = Collections.unmodifiableCollection(childLocations)

    public AbstractLocation(String name = null, Location parentLocation = null) {
        this.name = name
        setParentLocation(parentLocation)
    }<commit_msg>AbstractLocation should implement Location. D'oh!<commit_after>package brooklyn.location.basic

import brooklyn.location.Location

/**
 * Created by IntelliJ IDEA.
 * User: richard
 * Date: 04/07/2011
 * Time: 16:12
 * To change this template use File | Settings | File Templates.
 */
public abstract class AbstractLocation implements Location {

    private String name
    private Location parentLocation
    private Collection<Location> childLocations = []
    private Collection<Location> childLocationsReadOnly = Collections.unmodifiableCollection(childLocations)

    public AbstractLocation(String name = null, Location parentLocation = null) {
        this.name = name
        setParentLocation(parentLocation)
    }
{'fraction_non_alphanumeric': 0.07399425287356322, 'fraction_numerical': 0.017241379310344827, 'mean_word_length': 4.2368421052631575, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1218669', 'n_tokens_mistral': 372, 'n_tokens_neox': 348, 'n_words': 106}