Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.osee.ote.ui.define/src/org/eclipse/osee/ote/ui/define/viewers/DragDropHandler.java')
-rw-r--r--plugins/org.eclipse.osee.ote.ui.define/src/org/eclipse/osee/ote/ui/define/viewers/DragDropHandler.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.osee.ote.ui.define/src/org/eclipse/osee/ote/ui/define/viewers/DragDropHandler.java b/plugins/org.eclipse.osee.ote.ui.define/src/org/eclipse/osee/ote/ui/define/viewers/DragDropHandler.java
index 9f3bb27e1b6..6a7c78d99c3 100644
--- a/plugins/org.eclipse.osee.ote.ui.define/src/org/eclipse/osee/ote/ui/define/viewers/DragDropHandler.java
+++ b/plugins/org.eclipse.osee.ote.ui.define/src/org/eclipse/osee/ote/ui/define/viewers/DragDropHandler.java
@@ -136,7 +136,7 @@ public class DragDropHandler {
}
private URI[] toResourceArray(Object[] objects) {
- List<URI> toReturn = new ArrayList<URI>();
+ List<URI> toReturn = new ArrayList<>();
for (Object object : objects) {
if (object instanceof IAdaptable) {
Object resource = ((IAdaptable) object).getAdapter(IResource.class);
@@ -170,7 +170,7 @@ public class DragDropHandler {
private void handleArtifactDrops(ArtifactData artifactData) throws OseeCoreException {
Artifact[] artifactsDropped = artifactData.getArtifacts();
- Set<Artifact> artifactsToAdd = new HashSet<Artifact>();
+ Set<Artifact> artifactsToAdd = new HashSet<>();
for (Artifact artifact : artifactsDropped) {
if (artifact.isOfType(CoreArtifactTypes.TestRun)) {
artifactsToAdd.add(artifact);

Back to the top