Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.osee.ats.core.client/src/org/eclipse/osee/ats/core/client/internal/query/AtsQueryServiceIimpl.java')
-rw-r--r--plugins/org.eclipse.osee.ats.core.client/src/org/eclipse/osee/ats/core/client/internal/query/AtsQueryServiceIimpl.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/org.eclipse.osee.ats.core.client/src/org/eclipse/osee/ats/core/client/internal/query/AtsQueryServiceIimpl.java b/plugins/org.eclipse.osee.ats.core.client/src/org/eclipse/osee/ats/core/client/internal/query/AtsQueryServiceIimpl.java
index 1dc06132442..81d6cc010a8 100644
--- a/plugins/org.eclipse.osee.ats.core.client/src/org/eclipse/osee/ats/core/client/internal/query/AtsQueryServiceIimpl.java
+++ b/plugins/org.eclipse.osee.ats.core.client/src/org/eclipse/osee/ats/core/client/internal/query/AtsQueryServiceIimpl.java
@@ -10,9 +10,8 @@
*******************************************************************************/
package org.eclipse.osee.ats.core.client.internal.query;
-import java.util.Collection;
import java.util.ArrayList;
-import java.util.List;
+import java.util.Collection;
import java.util.logging.Level;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
@@ -68,7 +67,7 @@ public class AtsQueryServiceIimpl implements IAtsQueryService {
ArtifactId userArt = atsUser.getStoreObject();
for (IAttribute<Object> attr : atsClient.getAttributeResolver().getAttributes(userArt,
AtsAttributeTypes.QuickSearch)) {
- String jsonValue = ((String) attr.getValue());
+ String jsonValue = (String) attr.getValue();
if (jsonValue.contains("\"namespace\":\"" + namespace + "\"")) {
try {
AtsSearchData data = fromJson(jsonValue);
@@ -108,7 +107,7 @@ public class AtsQueryServiceIimpl implements IAtsQueryService {
private IAttribute<Object> getAttrById(ArtifactId artifact, Long attrId) {
for (IAttribute<Object> attr : atsClient.getAttributeResolver().getAttributes(artifact,
AtsAttributeTypes.QuickSearch)) {
- String jsonValue = ((String) attr.getValue());
+ String jsonValue = (String) attr.getValue();
try {
AtsSearchData data = fromJson(jsonValue);
if (attrId.equals(data.getUuid())) {

Back to the top