Skip to content

Commit

Permalink
Merge pull request #392 from edmcouncil/update_to_hard_coded_config_v…
Browse files Browse the repository at this point in the history
…alues

Hotfix to hard-coded string values in public class DescriptionGenerator
  • Loading branch information
mereolog authored Aug 9, 2024
2 parents f728efb + 0add6e8 commit 7f278f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ label_config:
- id: '@viewer.axiom.EquivalentClasses'
name: Equivalent classes (necessary and sufficient criteria)
- id: '@viewer.axiom.SubClassOf'
name: IS-A restrictions
name: OWL restrictions
- id: '@viewer.axiom.DisjointClasses'
name: Disjoint classes
- id: '@viewer.axiom.ClassAssertion'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ public class DescriptionGenerator {
public static final String INHERITED_DESCRIPTIONS_LABEL = "Inherited descriptions:";
public static final String OWN_DESCRIPTIONS_LABEL = "Own descriptions:";

static final String IS_A_RESTRICTIONS_LABEL = "IS-A restrictions";
static final String IS_A_RESTRICTIONS_INHERITED_LABEL = "IS-A restrictions inherited from superclasses";
static final String IS_A_RESTRICTIONS_LABEL = "OWL restrictions";
static final String IS_A_RESTRICTIONS_INHERITED_LABEL = "Inherited OWL restrictions";
static final String ONTOLOGICAL_CHARACTERISTIC_LABEL = "Ontological characteristic";

private static final Logger LOGGER = LoggerFactory.getLogger(DescriptionGenerator.class);
Expand Down

0 comments on commit 7f278f8

Please sign in to comment.