From 5e3c41cc571b4c9f3aa4e4d11fbc2d3a463d71d1 Mon Sep 17 00:00:00 2001 From: Ned Twigg Date: Mon, 29 Jun 2020 22:35:43 -0700 Subject: [PATCH] Removed the deprecated parts of EclipseWtpFormatterStep which were unused in the plugins. --- .../extra/wtp/EclipseWtpFormatterStep.java | 29 +------------------ 1 file changed, 1 insertion(+), 28 deletions(-) diff --git a/lib-extra/src/main/java/com/diffplug/spotless/extra/wtp/EclipseWtpFormatterStep.java b/lib-extra/src/main/java/com/diffplug/spotless/extra/wtp/EclipseWtpFormatterStep.java index 045fcc3038..fe45e846d7 100644 --- a/lib-extra/src/main/java/com/diffplug/spotless/extra/wtp/EclipseWtpFormatterStep.java +++ b/lib-extra/src/main/java/com/diffplug/spotless/extra/wtp/EclipseWtpFormatterStep.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 DiffPlug + * Copyright 2016-2020 DiffPlug * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -65,33 +65,6 @@ public static EclipseBasedStepBuilder createCssBuilder(Provisioner provisioner) return new EclipseBasedStepBuilder(NAME, " - css", provisioner, state -> applyWithoutFile("EclipseCssFormatterStepImpl", state)); } - /** - * Provides default configuration for HTML formatter. - * Method is deprecated. Use {@link EclipseWtpFormatterStep#createBuilder(Provisioner)} instead. - */ - @Deprecated - public static EclipseBasedStepBuilder createHtmlBuilder(Provisioner provisioner) { - return HTML.createBuilder(provisioner); - } - - /** - * Provides default configuration for Java Script formatter. - * Method is deprecated. Use {@link EclipseWtpFormatterStep#createBuilder(Provisioner)} instead. - */ - @Deprecated - public static EclipseBasedStepBuilder createJsBuilder(Provisioner provisioner) { - return JS.createBuilder(provisioner); - } - - /** - * Provides default configuration for JSON formatter. - * Method is deprecated. Use {@link EclipseWtpFormatterStep#createBuilder(Provisioner)} instead. - */ - @Deprecated - public static EclipseBasedStepBuilder createJsonBuilder(Provisioner provisioner) { - return JSON.createBuilder(provisioner); - } - /** * Provides default configuration for XML formatter. * Method is deprecated. Use {@link EclipseWtpFormatterStep#createBuilder(Provisioner)} instead.