Compare commits

..

No commits in common. "e934726c4b68b69e529964856d7ccc9ebd253457" and "be4898474ca1810b9dfdbaea871b6b92a670a083" have entirely different histories.

3 changed files with 10 additions and 8 deletions

View File

@ -3,6 +3,7 @@ package net.hostsharing.hsadminng.config;
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.SerializationFeature;
import com.fasterxml.jackson.databind.module.SimpleModule;
import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule;
import org.openapitools.jackson.nullable.JsonNullableModule;
import org.springframework.context.annotation.Bean;
@ -10,6 +11,7 @@ import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Primary;
import org.springframework.http.converter.json.Jackson2ObjectMapperBuilder;
import java.math.BigDecimal;
@Configuration
public class JsonObjectMapperConfiguration {

View File

@ -69,7 +69,7 @@ class HsOfficeCoopAssetsTransactionRepositoryIntegrationTest extends ContextBase
final var newCoopAssetsTransaction = HsOfficeCoopAssetsTransactionEntity.builder()
.membership(givenMembership)
.transactionType(HsOfficeCoopAssetsTransactionType.DEPOSIT)
.assetValue(new BigDecimal("6400.00"))
.assetValue(new BigDecimal("6,400.00"))
.valueDate(LocalDate.parse("2022-10-18"))
.reference("temp ref A")
.build();

View File

@ -59,7 +59,7 @@ public class TemplateResolver {
return Arrays.stream(values()).filter(p -> p.prefixChar == givenChar).findFirst().orElseThrow();
}
abstract String convert(final Object value, final Resolver resolver);
abstract String convert(final Object value, final Resolver resolver); // FIXME: why Object and not String?
}
private final static Pattern pattern = Pattern.compile(",(\\s*})", Pattern.MULTILINE);