~ubuntu-branches/ubuntu/natty/icedtea-web/natty-proposed

« back to all changes in this revision

Viewing changes to netx/net/sourceforge/jnlp/AppletDesc.java

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2010-11-24 13:23:28 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20101124132328-2xb9z39vxga63vr9
Tags: 1.0~20101124-0ubuntu1
* Update to hg 20101124.
* Fix xulrunner dependencies for natty.
* Build-depend on pkg-config and libgtk2.0-dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
    private int height;
46
46
 
47
47
    /** the parameters */
48
 
    private Map parameters;
 
48
    private Map<String,String> parameters;
49
49
 
50
50
 
51
51
    /**
58
58
     * @param height the height
59
59
     * @param parameters the parameters
60
60
     */
61
 
    public AppletDesc(String name, String mainClass, URL documentBase, int width, int height, Map parameters) {
 
61
    public AppletDesc(String name, String mainClass, URL documentBase, int width, int height,
 
62
                      Map<String,String> parameters) {
62
63
        this.name = name;
63
64
        this.mainClass = mainClass;
64
65
        this.documentBase = documentBase;
65
66
        this.width = width;
66
67
        this.height = height;
67
 
        this.parameters = new HashMap(parameters);
 
68
        this.parameters = new HashMap<String,String>(parameters);
68
69
    }
69
70
 
70
71
    /**
105
106
    /**
106
107
     * Returns the applet parameters
107
108
     */
108
 
    public Map getParameters() {
109
 
        return new HashMap(parameters);
 
109
    public Map<String,String> getParameters() {
 
110
        return new HashMap<String,String>(parameters);
110
111
    }
111
112
 
112
113
    /**