From a1c2c5a37f7687da38ef71cc81c1ef9f0eebb67c Mon Sep 17 00:00:00 2001 From: Padraig Gleeson Date: Thu, 12 May 2022 15:44:06 +0100 Subject: [PATCH] Typos in parameter descriptions --- .../org/lemsml/jlems/core/type/Parameter.java | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/main/java/org/lemsml/jlems/core/type/Parameter.java b/src/main/java/org/lemsml/jlems/core/type/Parameter.java index 7eaa3dc6..f86f881e 100644 --- a/src/main/java/org/lemsml/jlems/core/type/Parameter.java +++ b/src/main/java/org/lemsml/jlems/core/type/Parameter.java @@ -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; @@ -35,10 +35,10 @@ public Parameter(String name, Dimension dimension) { this.dimension = dimension.getName(); this.r_dimension = dimension; } - + public void resolve(LemsCollection dimensions) throws ContentError { - + if (dimension == null) { E.warning("no dimension for " + name); } else if (dimension.equals("*")) { @@ -53,7 +53,7 @@ public void resolve(LemsCollection dimensions) throws ContentError { } } } - + @Override public String toString() { return "Parameter{" + "name=" + name + ", dimension=" + dimension + ", r_dimension=" + r_dimension + '}'; @@ -77,5 +77,5 @@ protected void setName(String s) { protected void setDimension(String sd) { dimension = sd; } - + }