Skip to content
Snippets Groups Projects
Commit 4e0fff8b authored by brinn's avatar brinn
Browse files

Update javadoc and add a small code simplification.

SVN: 28417
parent 687430f3
No related merge requests found
......@@ -68,19 +68,19 @@ public class SampleIdentifier extends SampleOwnerIdentifier
this(instanceIdentifier, null, sampleCode);
}
/** Group level {@link SampleIdentifier}. */
/** Space level {@link SampleIdentifier}. */
public SampleIdentifier(final SpaceIdentifier spaceIdentifier, final String sampleCode)
{
this(null, spaceIdentifier, sampleCode);
}
/** Group level {@link SampleIdentifier} in home database instance. */
/** Space level {@link SampleIdentifier} in home database instance. */
public static SampleIdentifier create(String spaceCode, String sampleCode)
{
return new SampleIdentifier(new SpaceIdentifier(spaceCode), sampleCode);
}
/** Home group level {@link SampleIdentifier} with type. */
/** Home space level {@link SampleIdentifier} with type. */
public static SampleIdentifier createHomeGroup(final String sampleCode)
{
return new SampleIdentifier(SpaceIdentifier.createHome(), sampleCode);
......@@ -133,7 +133,7 @@ public class SampleIdentifier extends SampleOwnerIdentifier
}
} else
{
this.sampleSubCode = sampleCode;
this.sampleSubCode = null;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment