You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fineract.apache.org by sh...@apache.org on 2018/09/24 11:23:09 UTC

[fineract] branch revert-474-fineract-546 created (now 3087666)

This is an automated email from the ASF dual-hosted git repository.

shruthirajaram pushed a change to branch revert-474-fineract-546
in repository https://gitbox.apache.org/repos/asf/fineract.git.


      at 3087666  Revert "FINERACT-546 disassociate group from center"

This branch includes the following new commits:

     new 3087666  Revert "FINERACT-546 disassociate group from center"

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[fineract] 01/01: Revert "FINERACT-546 disassociate group from center"

Posted by sh...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

shruthirajaram pushed a commit to branch revert-474-fineract-546
in repository https://gitbox.apache.org/repos/asf/fineract.git

commit 308766600fecfcab27db7bdbb6b4051fe9b9455e
Author: ShruthiRajaram <sh...@confluxtechnologies.com>
AuthorDate: Mon Sep 24 16:53:03 2018 +0530

    Revert "FINERACT-546 disassociate group from center"
---
 .../java/org/apache/fineract/portfolio/group/domain/Group.java    | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/fineract-provider/src/main/java/org/apache/fineract/portfolio/group/domain/Group.java b/fineract-provider/src/main/java/org/apache/fineract/portfolio/group/domain/Group.java
index a40aad7..c3a14ae 100644
--- a/fineract-provider/src/main/java/org/apache/fineract/portfolio/group/domain/Group.java
+++ b/fineract-provider/src/main/java/org/apache/fineract/portfolio/group/domain/Group.java
@@ -108,7 +108,7 @@ public final class Group extends AbstractPersistableCustom<Long> {
 
     @OneToMany(fetch = FetchType.EAGER)
     @JoinColumn(name = "parent_id")
-    private List<Group> groupMembers = new LinkedList<>();
+    private final List<Group> groupMembers = new LinkedList<>();
 
     @ManyToMany
     @JoinTable(name = "m_group_client", joinColumns = @JoinColumn(name = "group_id"), inverseJoinColumns = @JoinColumn(name = "client_id"))
@@ -744,10 +744,4 @@ public final class Group extends AbstractPersistableCustom<Long> {
         this.accountNumber = accountIdentifier;
         this.accountNumberRequiresAutoGeneration = false;
     }
-
-	public void setGroupMembers(List<Group> groupMembers) {
-		this.groupMembers = groupMembers;
-	}
-    
-    
 }
\ No newline at end of file