Skip to content

Commit

Permalink
Removed the deprecated parts of EclipseWtpFormatterStep which were un…
Browse files Browse the repository at this point in the history
…used in the plugins.
  • Loading branch information
nedtwigg committed Jun 30, 2020
1 parent acb6b85 commit 5e3c41c
Showing 1 changed file with 1 addition and 28 deletions.
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 5e3c41c

Please sign in to comment.