Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Koller2019-03-27 10:39:47 -0400
committerMatthias Koller2019-03-27 10:40:54 -0400
commit137d780487094b6851e40c04b2da4470f581411a (patch)
tree1e7701aacb6500dc194473009116b99a762bc8f2
parent06c7d0029807971a1687b5eb97e4471533e33b2e (diff)
downloadorg.eclipse.mdm.api.base-137d780487094b6851e40c04b2da4470f581411a.tar.gz
org.eclipse.mdm.api.base-137d780487094b6851e40c04b2da4470f581411a.tar.xz
org.eclipse.mdm.api.base-137d780487094b6851e40c04b2da4470f581411a.zip
544621 - Mixed line endings (LF and CRLF) and other formatting issues
Organized imports Signed-off-by: Matthias Koller <m.koller@peak-solution.de>
-rw-r--r--src/main/java/org/eclipse/mdm/api/base/BaseApplicationContext.java1
-rw-r--r--src/main/java/org/eclipse/mdm/api/base/adapter/Attribute.java5
-rw-r--r--src/test/java/org/eclipse/mdm/api/base/BaseEntityManagerTest.java17
3 files changed, 13 insertions, 10 deletions
diff --git a/src/main/java/org/eclipse/mdm/api/base/BaseApplicationContext.java b/src/main/java/org/eclipse/mdm/api/base/BaseApplicationContext.java
index dbbc1ff..2217df4 100644
--- a/src/main/java/org/eclipse/mdm/api/base/BaseApplicationContext.java
+++ b/src/main/java/org/eclipse/mdm/api/base/BaseApplicationContext.java
@@ -20,7 +20,6 @@ import java.util.Optional;
import org.eclipse.mdm.api.base.adapter.ModelManager;
import org.eclipse.mdm.api.base.file.FileService;
import org.eclipse.mdm.api.base.model.BaseEntityFactory;
-import org.eclipse.mdm.api.base.model.Entity;
import org.eclipse.mdm.api.base.notification.NotificationService;
import org.eclipse.mdm.api.base.query.QueryService;
import org.eclipse.mdm.api.base.search.SearchService;
diff --git a/src/main/java/org/eclipse/mdm/api/base/adapter/Attribute.java b/src/main/java/org/eclipse/mdm/api/base/adapter/Attribute.java
index 13d39f9..c0a4d03 100644
--- a/src/main/java/org/eclipse/mdm/api/base/adapter/Attribute.java
+++ b/src/main/java/org/eclipse/mdm/api/base/adapter/Attribute.java
@@ -15,13 +15,12 @@
package org.eclipse.mdm.api.base.adapter;
+import java.lang.reflect.Field;
+
import org.eclipse.mdm.api.base.model.Enumeration;
import org.eclipse.mdm.api.base.model.Value;
import org.eclipse.mdm.api.base.model.ValueType;
-import javax.xml.ws.Service;
-import java.lang.reflect.Field;
-
/**
* Represents a modeled attribute.
*
diff --git a/src/test/java/org/eclipse/mdm/api/base/BaseEntityManagerTest.java b/src/test/java/org/eclipse/mdm/api/base/BaseEntityManagerTest.java
index aea77da..dcc6a5d 100644
--- a/src/test/java/org/eclipse/mdm/api/base/BaseEntityManagerTest.java
+++ b/src/test/java/org/eclipse/mdm/api/base/BaseEntityManagerTest.java
@@ -14,16 +14,21 @@
package org.eclipse.mdm.api.base;
-import org.eclipse.mdm.api.base.model.TestStep;
-import org.eclipse.mdm.api.base.query.DataAccessException;
-import org.junit.Test;
+import static org.assertj.core.api.Assertions.assertThat;
+import static org.assertj.core.api.Assertions.assertThatThrownBy;
+import static org.mockito.ArgumentMatchers.any;
+import static org.mockito.ArgumentMatchers.anyCollection;
+import static org.mockito.ArgumentMatchers.anyString;
+import static org.mockito.ArgumentMatchers.eq;
+import static org.mockito.Mockito.mock;
+import static org.mockito.Mockito.when;
import java.util.Arrays;
import java.util.Collections;
-import static org.assertj.core.api.Assertions.assertThat;
-import static org.assertj.core.api.Assertions.assertThatThrownBy;
-import static org.mockito.Mockito.*;
+import org.eclipse.mdm.api.base.model.TestStep;
+import org.eclipse.mdm.api.base.query.DataAccessException;
+import org.junit.Test;
public class BaseEntityManagerTest {

Back to the top