~ubuntu-branches/ubuntu/trusty/tomcat7/trusty-security

« back to all changes in this revision

Viewing changes to java/org/apache/catalina/deploy/ResourceBase.java

  • Committer: Package Import Robot
  • Author(s): tony mancill
  • Date: 2012-06-07 22:43:21 UTC
  • mfrom: (11.1.4 sid)
  • Revision ID: package-import@ubuntu.com-20120607224321-cfev8j681yueyov3
Tags: 7.0.27-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
 * Representation of an Context element
28
28
 *
29
29
 * @author Peter Rossbach (pero@apache.org)
30
 
 * @version $Id: ResourceBase.java 1226539 2012-01-02 20:18:01Z markt $
 
30
 * @version $Id: ResourceBase.java 1301210 2012-03-15 21:22:10Z markt $
31
31
 */
32
32
public class ResourceBase implements Serializable, Injectable {
33
33
 
83
83
    /**
84
84
     * Holder for our configured properties.
85
85
     */
86
 
    private HashMap<String, Object> properties = new HashMap<String, Object>();
 
86
    private final HashMap<String, Object> properties =
 
87
            new HashMap<String, Object>();
87
88
 
88
89
    /**
89
90
     * Return a configured property.
113
114
        return properties.keySet().iterator();
114
115
    }
115
116
 
116
 
    private List<InjectionTarget> injectionTargets = new ArrayList<InjectionTarget>();
 
117
    private final List<InjectionTarget> injectionTargets = new ArrayList<InjectionTarget>();
117
118
 
118
119
    @Override
119
120
    public void addInjectionTarget(String injectionTargetName, String jndiName) {