Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.osee.ats.rest/src/org/eclipse/osee/ats/rest/internal/workitem/AtsProgramService.java')
-rw-r--r--plugins/org.eclipse.osee.ats.rest/src/org/eclipse/osee/ats/rest/internal/workitem/AtsProgramService.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.osee.ats.rest/src/org/eclipse/osee/ats/rest/internal/workitem/AtsProgramService.java b/plugins/org.eclipse.osee.ats.rest/src/org/eclipse/osee/ats/rest/internal/workitem/AtsProgramService.java
index 2664e10ac48..64e6ca54b3f 100644
--- a/plugins/org.eclipse.osee.ats.rest/src/org/eclipse/osee/ats/rest/internal/workitem/AtsProgramService.java
+++ b/plugins/org.eclipse.osee.ats.rest/src/org/eclipse/osee/ats/rest/internal/workitem/AtsProgramService.java
@@ -86,7 +86,7 @@ public class AtsProgramService implements IAtsProgramService {
@Override
public IAtsCountry getCountry(IAtsProgram atsProgram) {
IAtsCountry country = null;
- ArtifactReadable artifact = ((ArtifactReadable) atsProgram.getStoreObject());
+ ArtifactReadable artifact = (ArtifactReadable) atsProgram.getStoreObject();
if (artifact != null) {
ArtifactReadable countryArt =
artifact.getRelated(AtsRelationTypes.CountryToProgram_Country).getAtMostOneOrNull();
@@ -100,7 +100,7 @@ public class AtsProgramService implements IAtsProgramService {
@Override
public List<IAtsProgram> getPrograms(IAtsCountry atsCountry) {
List<IAtsProgram> programs = new LinkedList<>();
- ArtifactReadable artifact = ((ArtifactReadable) atsCountry.getStoreObject());
+ ArtifactReadable artifact = (ArtifactReadable) atsCountry.getStoreObject();
if (artifact != null) {
for (ArtifactReadable related : artifact.getRelated(AtsRelationTypes.CountryToProgram_Program)) {
programs.add(atsServer.getConfigItemFactory().getProgram(related));

Back to the top