From be546ea43f5fe01bb973c898ddbe8531e99ab841 Mon Sep 17 00:00:00 2001 From: Miroslav Pokorny Date: Mon, 14 Oct 2024 14:09:07 +1100 Subject: [PATCH] https://github.com/mP1/walkingkooka-spreadsheet/pull/5284 BasicSpreadsheetEngineContext.fractioner dependency removed - https://github.com/mP1/walkingkooka-spreadsheet/pull/5284 - BasicSpreadsheetEngineContext.fractioner dependency removed --- .../platform/JettyHttpServerSpreadsheetHttpServer.java | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/main/java/walkingkooka/spreadsheet/server/platform/JettyHttpServerSpreadsheetHttpServer.java b/src/main/java/walkingkooka/spreadsheet/server/platform/JettyHttpServerSpreadsheetHttpServer.java index 5febc6f..e84fa26 100644 --- a/src/main/java/walkingkooka/spreadsheet/server/platform/JettyHttpServerSpreadsheetHttpServer.java +++ b/src/main/java/walkingkooka/spreadsheet/server/platform/JettyHttpServerSpreadsheetHttpServer.java @@ -23,7 +23,6 @@ import walkingkooka.collect.map.Maps; import walkingkooka.convert.Converters; import walkingkooka.environment.EnvironmentContext; -import walkingkooka.math.Fraction; import walkingkooka.net.HostAddress; import walkingkooka.net.IpPort; import walkingkooka.net.UrlPath; @@ -82,7 +81,6 @@ import walkingkooka.util.SystemProperty; import java.io.IOException; -import java.math.BigDecimal; import java.math.MathContext; import java.math.RoundingMode; import java.nio.file.FileSystem; @@ -324,7 +322,6 @@ private static void startJettyHttpServer(final UrlScheme scheme, createMetadata(defaultLocale, metadataStore), metadataStore, JettyHttpServerSpreadsheetHttpServer::spreadsheetMetadataStamper, - fractioner(), JsonNodeMarshallContexts.basic(), JsonNodeUnmarshallContexts.basic( ExpressionNumberKind.DEFAULT, @@ -456,12 +453,6 @@ private static SpreadsheetMetadata spreadsheetMetadataStamper(final SpreadsheetM ); } - private static Function fractioner() { - return (n) -> { - throw new UnsupportedOperationException(); - }; - } - private static Function spreadsheetIdToSpreadsheetProvider() { return (id) -> { final SpreadsheetMetadata metadata = metadataStore.loadOrFail(id);