Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrbrooks2010-04-09 13:25:12 -0400
committerrbrooks2010-04-09 13:25:12 -0400
commitb3a8b9c58f15ffb67f3cb643552b29dd7e6fda49 (patch)
treec7c7e5d37814494c5f8f717fe6769b33d4ce603f
parent1294ed6430bcf62f836bfa98ce692c027943fb01 (diff)
downloadorg.eclipse.osee-b3a8b9c58f15ffb67f3cb643552b29dd7e6fda49.tar.gz
org.eclipse.osee-b3a8b9c58f15ffb67f3cb643552b29dd7e6fda49.tar.xz
org.eclipse.osee-b3a8b9c58f15ffb67f3cb643552b29dd7e6fda49.zip
resolved warnings
-rw-r--r--plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/operation/PurgeUser.java2
-rw-r--r--plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/operation/ReAssignATSObjectsToUser.java6
2 files changed, 7 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/operation/PurgeUser.java b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/operation/PurgeUser.java
index 9ad0a8bd7a..13e8581c2a 100644
--- a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/operation/PurgeUser.java
+++ b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/operation/PurgeUser.java
@@ -61,6 +61,7 @@ public class PurgeUser extends AbstractBlam {
return "Purge User";
}
+ @Override
public void runOperation(final VariableMap variableMap, IProgressMonitor monitor) throws OseeCoreException {
final IProgressMonitor mon = monitor;
Displays.ensureInDisplayThread(new Runnable() {
@@ -183,6 +184,7 @@ public class PurgeUser extends AbstractBlam {
return "Purge the specified User. You will be prompted to choose which user to re-assign existing transactions and relations.";
}
+ @Override
public Collection<String> getCategories() {
return Arrays.asList("Admin");
}
diff --git a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/operation/ReAssignATSObjectsToUser.java b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/operation/ReAssignATSObjectsToUser.java
index bcee5c4834..95664fa595 100644
--- a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/operation/ReAssignATSObjectsToUser.java
+++ b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/operation/ReAssignATSObjectsToUser.java
@@ -46,6 +46,7 @@ public class ReAssignATSObjectsToUser extends AbstractBlam {
return "Re-Assign ATS Objects To User";
}
+ @Override
public void runOperation(final VariableMap variableMap, IProgressMonitor monitor) throws OseeCoreException {
Displays.ensureInDisplayThread(new Runnable() {
public void run() {
@@ -81,7 +82,9 @@ public class ReAssignATSObjectsToUser extends AbstractBlam {
new ArtifactCheckTreeDialog(atsArts, new ArtifactTypeAndDescriptiveLabelProvider());
dialog.setTitle("ReAssign ATS Object to User");
dialog.setMessage("Select to re-assign to user \"" + toUser);
- if (dialog.open() != 0) return;
+ if (dialog.open() != 0) {
+ return;
+ }
final Collection<Artifact> artsToReAssign = dialog.getSelection();
// Make the changes and persist
@@ -117,6 +120,7 @@ public class ReAssignATSObjectsToUser extends AbstractBlam {
return "Re-Assign ATS Workflows, Tasks and Reviews to another user. Enter to and from User and select play. You will be promted to select the ATS Objects to reassign.";
}
+ @Override
public Collection<String> getCategories() {
return Arrays.asList("ATS.Admin");
}

Back to the top