Skip to content

[BUG] - OML Builder Can Make Duplicate Concept Instances #121

Description

@LewisHumphries

Description

When using the OMLBuilder to create an OML description, if you try to create 2 concept instances with the same name it'll create a duplicate concept instance, which causes the OML description to be invalid.

Steps to Reproduce

Steps to reproduce the behaviour:

  • Step 1 - call the OMLBuilder.addConceptInstance(Description description, String name) function twice using the same value for the name parameter.

Expected Behaviour

The expected behaviour would be to return the original concept instance.

Additional Context

N/A

Relevant screenshots

N/A

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions