Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion fineract-provider/config/checkstyle/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
<property name="sortImportsInGroupAlphabetically" value="true"/>
<property name="customImportOrderRules" value="STATIC###THIRD_PARTY_PACKAGE"/>
</module>
<module name="OneStatementPerLine"/>

<!-- TODO Enable many more checks (go about this one by one, step by step, raise separate PRs fixing and then enforcing):

Expand Down Expand Up @@ -130,7 +131,7 @@
value="WhitespaceAround: ''{0}'' is not preceded with whitespace."/>
</module>
<module name="ParenPad" />
<module name="OneStatementPerLine"/>

<module name="MultipleVariableDeclarations"/>
<module name="ArrayTypeStyle"/>
<module name="MissingSwitchDefault"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ public CommandProcessingResult update(final JsonCommand command) {
for (EmailConfiguration config : configurations) {
if(config.getName() !=null){
String value = command.stringValueOfParameterNamed(config.getName());
config.setValue(value); changes.put(config.getName(),value);
config.setValue(value);
changes.put(config.getName(),value);
this.repository.saveAndFlush(config);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,17 @@ public static CashierTxnType getCashierTxnType (Integer id) {

switch(id) {
case 101:
retVal = ALLOCATE; break;
retVal = ALLOCATE;
break;
case 102:
retVal = SETTLE; break;
retVal = SETTLE;
break;
case 103:
retVal = INWARD_CASH_TXN; break;
retVal = INWARD_CASH_TXN;
break;
case 104:
retVal = OUTWARD_CASH_TXN; break;
retVal = OUTWARD_CASH_TXN;
break;
default:
break;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ private GetUsersUserIdResponse() {
@ApiModelProperty(example = "false")
public Boolean passwordNeverExpires;
public StaffData staff;
public Collection<RoleData> availableRoles;;
public Collection<RoleData> availableRoles;
public Collection<RoleData> selectedRoles;

}
Expand Down