Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan D. Brooks2015-09-28 14:49:18 -0400
committerRyan D. Brooks2015-09-28 14:49:18 -0400
commit071fcbc5cca4e22e650bb459701f5fc9be701013 (patch)
treeac629d866ecfea675bc4e134c68315440282d560 /plugins/org.eclipse.osee.framework.lifecycle.test
parentb4f6f62b0d3af365b67a3786dbb24c97fa638536 (diff)
downloadorg.eclipse.osee-071fcbc5cca4e22e650bb459701f5fc9be701013.tar.gz
org.eclipse.osee-071fcbc5cca4e22e650bb459701f5fc9be701013.tar.xz
org.eclipse.osee-071fcbc5cca4e22e650bb459701f5fc9be701013.zip
refactor: Use type inference when invoking a generic constructor
Diffstat (limited to 'plugins/org.eclipse.osee.framework.lifecycle.test')
-rw-r--r--plugins/org.eclipse.osee.framework.lifecycle.test/src/org/eclipse/osee/framework/lifecycle/test/mock/AnotherMockLifecycePoint.java2
-rw-r--r--plugins/org.eclipse.osee.framework.lifecycle.test/src/org/eclipse/osee/framework/lifecycle/test/mock/MockLifecycePoint.java2
-rw-r--r--plugins/org.eclipse.osee.framework.lifecycle.test/src/org/eclipse/osee/framework/lifecycle/test/mock/StrictMockLifecycePoint.java2
3 files changed, 3 insertions, 3 deletions
diff --git a/plugins/org.eclipse.osee.framework.lifecycle.test/src/org/eclipse/osee/framework/lifecycle/test/mock/AnotherMockLifecycePoint.java b/plugins/org.eclipse.osee.framework.lifecycle.test/src/org/eclipse/osee/framework/lifecycle/test/mock/AnotherMockLifecycePoint.java
index a266ef1076..ef84ea9893 100644
--- a/plugins/org.eclipse.osee.framework.lifecycle.test/src/org/eclipse/osee/framework/lifecycle/test/mock/AnotherMockLifecycePoint.java
+++ b/plugins/org.eclipse.osee.framework.lifecycle.test/src/org/eclipse/osee/framework/lifecycle/test/mock/AnotherMockLifecycePoint.java
@@ -20,7 +20,7 @@ import org.eclipse.osee.framework.lifecycle.AbstractLifecycleVisitor;
*/
public class AnotherMockLifecycePoint extends AbstractLifecycleVisitor<NonRunHandler> {
- public static final Type<NonRunHandler> TYPE = new Type<NonRunHandler>();
+ public static final Type<NonRunHandler> TYPE = new Type<>();
@Override
public Type<NonRunHandler> getAssociatedType() {
diff --git a/plugins/org.eclipse.osee.framework.lifecycle.test/src/org/eclipse/osee/framework/lifecycle/test/mock/MockLifecycePoint.java b/plugins/org.eclipse.osee.framework.lifecycle.test/src/org/eclipse/osee/framework/lifecycle/test/mock/MockLifecycePoint.java
index 540547cfd7..e66d3e3647 100644
--- a/plugins/org.eclipse.osee.framework.lifecycle.test/src/org/eclipse/osee/framework/lifecycle/test/mock/MockLifecycePoint.java
+++ b/plugins/org.eclipse.osee.framework.lifecycle.test/src/org/eclipse/osee/framework/lifecycle/test/mock/MockLifecycePoint.java
@@ -20,7 +20,7 @@ import org.eclipse.osee.framework.lifecycle.AbstractLifecycleVisitor;
*/
public class MockLifecycePoint extends AbstractLifecycleVisitor<MockHandler> {
- public static final Type<MockHandler> TYPE = new Type<MockHandler>();
+ public static final Type<MockHandler> TYPE = new Type<>();
private final String a;
private final String b;
diff --git a/plugins/org.eclipse.osee.framework.lifecycle.test/src/org/eclipse/osee/framework/lifecycle/test/mock/StrictMockLifecycePoint.java b/plugins/org.eclipse.osee.framework.lifecycle.test/src/org/eclipse/osee/framework/lifecycle/test/mock/StrictMockLifecycePoint.java
index e3a6333147..8320cc61f7 100644
--- a/plugins/org.eclipse.osee.framework.lifecycle.test/src/org/eclipse/osee/framework/lifecycle/test/mock/StrictMockLifecycePoint.java
+++ b/plugins/org.eclipse.osee.framework.lifecycle.test/src/org/eclipse/osee/framework/lifecycle/test/mock/StrictMockLifecycePoint.java
@@ -18,7 +18,7 @@ import org.eclipse.osee.framework.lifecycle.AbstractLifecyclePoint;
*/
public class StrictMockLifecycePoint extends AbstractLifecyclePoint<MockHandler> {
- public static final Type<MockHandler> TYPE = new Type<MockHandler>();
+ public static final Type<MockHandler> TYPE = new Type<>();
private final String a;
private final String b;

Back to the top