Skip to content

Commit

Permalink
Typos in parameter descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
pgleeson committed May 12, 2022
1 parent 5b391a3 commit a1c2c5a
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/main/java/org/lemsml/jlems/core/type/Parameter.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@
@ModelElement(info = "Sets the name an dimensionality of a parameter that must be supplied when a component is defined "
+ "curresponding to the enclosing ComponentType")
public class Parameter implements Named {
@ModelProperty(info="The name of the parameter. This isthe attibute name when the parameter is supplied in a component definition")

@ModelProperty(info="The name of the parameter. This is the attibute name when the parameter is supplied in a component definition")
public String name;
@ModelProperty(info="The dimension, or 'none'. This should be the ID of a deminsion element defined elsewhere")

@ModelProperty(info="The dimension, or 'none'. This should be the ID of a dimension element defined elsewhere")
public String dimension;

public Dimension r_dimension;

public String description;

public String exposure;


Expand All @@ -35,10 +35,10 @@ public Parameter(String name, Dimension dimension) {
this.dimension = dimension.getName();
this.r_dimension = dimension;
}


public void resolve(LemsCollection<Dimension> dimensions) throws ContentError {

if (dimension == null) {
E.warning("no dimension for " + name);
} else if (dimension.equals("*")) {
Expand All @@ -53,7 +53,7 @@ public void resolve(LemsCollection<Dimension> dimensions) throws ContentError {
}
}
}

@Override
public String toString() {
return "Parameter{" + "name=" + name + ", dimension=" + dimension + ", r_dimension=" + r_dimension + '}';
Expand All @@ -77,5 +77,5 @@ protected void setName(String s) {
protected void setDimension(String sd) {
dimension = sd;
}

}

0 comments on commit a1c2c5a

Please sign in to comment.