diff --git a/sci-types-project/pom.xml b/sci-types-project/pom.xml
index b37c514..74fca5a 100644
--- a/sci-types-project/pom.xml
+++ b/sci-types-project/pom.xml
@@ -20,7 +20,7 @@
org.scientificcms
sci-types-project
- sci-types-project
+ ScientificCMS SciProject Content Type
diff --git a/sci-types-project/src/main/java/com/arsdigita/cms/contenttypes/ui/SciProjectController.java b/sci-types-project/src/main/java/com/arsdigita/cms/contenttypes/ui/SciProjectController.java
index 2acc6e0..78d9a8d 100644
--- a/sci-types-project/src/main/java/com/arsdigita/cms/contenttypes/ui/SciProjectController.java
+++ b/sci-types-project/src/main/java/com/arsdigita/cms/contenttypes/ui/SciProjectController.java
@@ -44,11 +44,11 @@ class SciProjectController {
public static final String CONTACT_TYPE = "contactType";
public static final String CONTACT_ID = "contactId";
-
+
public static final String SPONSOR_ID = "sponsorId";
-
+
public static final String SPONSOR_NAME = "name";
-
+
public static final String SPONSOR_FUNDING_CODE = "fundingCode";
@Inject
@@ -204,7 +204,7 @@ class SciProjectController {
}
@Transactional(Transactional.TxType.REQUIRED)
- public void swapWithPreviousContact(final long projectId,
+ public void swapWithPreviousContact(final long projectId,
final long contactId) {
final SciProject project = projectRepository
@@ -240,7 +240,7 @@ class SciProjectController {
}
@Transactional(Transactional.TxType.REQUIRED)
- public void swapWithNextContact(final long projectId,
+ public void swapWithNextContact(final long projectId,
final long contactId) {
final SciProject project = projectRepository
@@ -318,12 +318,12 @@ class SciProjectController {
projectRepository.save(project);
}
-
- @Transactional(Transactional.TxType.REQUIRED)
- public Optional findSponsoring(final long projectId,
+
+ @Transactional(Transactional.TxType.REQUIRED)
+ public Optional findSponsoring(final long projectId,
final Object key) {
-
- final SciProject project = projectRepository
+
+ final SciProject project = projectRepository
.findById(projectId, SciProject.class)
.orElseThrow(
() -> new IllegalArgumentException(
@@ -332,18 +332,18 @@ class SciProjectController {
);
final long sponsoringId = (long) key;
-
+
return project
.getSponsoring()
.stream()
.filter(sponsoring -> sponsoring.getSponsoringId() == sponsoringId)
.findAny();
}
-
+
@Transactional(Transactional.TxType.REQUIRED)
public List