/** * Initializes a new instance of the ResourceBase class with required * arguments. * * @param location Gets or sets the location of the resource. */ public ResourceBase(String location) { this(); if (location == null) { throw new NullPointerException("location"); } this.setLocation(location); } }
/** * Initializes a new instance of the ResourceBase class. * */ public ResourceBase() { this.setTags(new LazyHashMap<String, String>()); }