Skip to content

Commit

Permalink
mP1/walkingkooka-spreadsheet#5284 BasicSpreadsheetEngineContext.fract…
Browse files Browse the repository at this point in the history
…ioner dependency removed

- mP1/walkingkooka-spreadsheet#5284
- BasicSpreadsheetEngineContext.fractioner dependency removed
  • Loading branch information
mP1 committed Oct 14, 2024
1 parent 726b719 commit be546ea
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -324,7 +322,6 @@ private static void startJettyHttpServer(final UrlScheme scheme,
createMetadata(defaultLocale, metadataStore),
metadataStore,
JettyHttpServerSpreadsheetHttpServer::spreadsheetMetadataStamper,
fractioner(),
JsonNodeMarshallContexts.basic(),
JsonNodeUnmarshallContexts.basic(
ExpressionNumberKind.DEFAULT,
Expand Down Expand Up @@ -456,12 +453,6 @@ private static SpreadsheetMetadata spreadsheetMetadataStamper(final SpreadsheetM
);
}

private static Function<BigDecimal, Fraction> fractioner() {
return (n) -> {
throw new UnsupportedOperationException();
};
}

private static Function<SpreadsheetId, SpreadsheetProvider> spreadsheetIdToSpreadsheetProvider() {
return (id) -> {
final SpreadsheetMetadata metadata = metadataStore.loadOrFail(id);
Expand Down

0 comments on commit be546ea

Please sign in to comment.