Skip to content

Commit 4a9e443

Browse files
committed
Apply spotless
1 parent 967825f commit 4a9e443

File tree

5 files changed

+33
-18
lines changed

5 files changed

+33
-18
lines changed

lib/src/main/java/com/diffplug/spotless/rome/EBiomeFlavor.java

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
/*
2+
* Copyright 2023 DiffPlug
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
116
package com.diffplug.spotless.rome;
217

318
/**
@@ -13,7 +28,7 @@ public enum EBiomeFlavor {
1328

1429
/**
1530
* The old deprecated Rome project.
16-
*
31+
*
1732
* @deprecated Will be removed once the old Rome project is not supported
1833
* anymore.
1934
*/
@@ -77,4 +92,4 @@ public String getUrlPattern() {
7792
public String shortName() {
7893
return shortName;
7994
}
80-
}
95+
}

plugin-gradle/src/main/java/com/diffplug/gradle/spotless/FormatExtension.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@ public class BiomeGeneric extends RomeStepConfig<BiomeGeneric> {
735735
/**
736736
* Creates a new Rome config that downloads the Rome executable for the given
737737
* version from the network.
738-
*
738+
*
739739
* @param version Rome version to use. The default version is used when
740740
* <code>null</code>.
741741
*/
@@ -758,7 +758,7 @@ public BiomeGeneric(String version) {
758758
* extension)</li>
759759
* <li>json (JSON)</li>
760760
* </ul>
761-
*
761+
*
762762
* @param language The language of the files to format.
763763
* @return This step for further configuration.
764764
*/
@@ -783,7 +783,7 @@ protected BiomeGeneric getThis() {
783783
* Generic Rome formatter step that detects the language of the input file from
784784
* the file name. It should be specified as a formatter step for a generic
785785
* <code>format{ ... }</code>.
786-
*
786+
*
787787
* @deprecated Rome has transitioned to Biome. This will be removed shortly.
788788
*/
789789
@Deprecated
@@ -794,7 +794,7 @@ public class RomeGeneric extends RomeStepConfig<RomeGeneric> {
794794
/**
795795
* Creates a new Rome config that downloads the Rome executable for the given
796796
* version from the network.
797-
*
797+
*
798798
* @param version Rome version to use. The default version is used when
799799
* <code>null</code>.
800800
*/
@@ -817,7 +817,7 @@ public RomeGeneric(String version) {
817817
* extension)</li>
818818
* <li>json (JSON)</li>
819819
* </ul>
820-
*
820+
*
821821
* @param language The language of the files to format.
822822
* @return This step for further configuration.
823823
*/
@@ -875,7 +875,7 @@ public RomeStepConfig<?> biome(String version) {
875875
* Defaults to downloading the default Rome version from the network. To work
876876
* offline, you can specify the path to the Rome executable via
877877
* {@code rome().pathToExe(...)}.
878-
*
878+
*
879879
* @deprecated Use {@link #biome(String)}.
880880
*/
881881
@Deprecated
@@ -885,7 +885,7 @@ public RomeStepConfig<?> rome() {
885885

886886
/**
887887
* Downloads the given Rome version from the network.
888-
*
888+
*
889889
* @deprecated Use {@link #biome(String)}.
890890
*/
891891
@Deprecated

plugin-gradle/src/main/java/com/diffplug/gradle/spotless/JavascriptExtension.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ public BiomeJs biome(String version) {
158158
* Defaults to downloading the default Rome version from the network. To work
159159
* offline, you can specify the path to the Rome executable via
160160
* {@code rome().pathToExe(...)}.
161-
*
161+
*
162162
* @deprecated Use {@link #biome()}.
163163
*/
164164
@Deprecated
@@ -168,7 +168,7 @@ public RomeJs rome() {
168168

169169
/**
170170
* Downloads the given Rome version from the network.
171-
*
171+
*
172172
* @deprecated Use {@link #biome(String)}.
173173
*/
174174
@Deprecated
@@ -209,7 +209,7 @@ protected BiomeJs getThis() {
209209

210210
/**
211211
* Rome formatter step for JavaScript.
212-
*
212+
*
213213
* @deprecated Rome has transitioned to Biome. This will be removed shortly.
214214
*/
215215
@Deprecated

plugin-gradle/src/main/java/com/diffplug/gradle/spotless/JsonExtension.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public BiomeJson biome(String version) {
8080
* Defaults to downloading the default Rome version from the network. To work
8181
* offline, you can specify the path to the Rome executable via
8282
* {@code rome().pathToExe(...)}.
83-
*
83+
*
8484
* @deprecated Use {@link #biome()}.
8585
*/
8686
@Deprecated
@@ -90,7 +90,7 @@ public RomeJson rome() {
9090

9191
/**
9292
* Downloads the given Rome version from the network.
93-
*
93+
*
9494
* @deprecated Use {@link #biome(String)}.
9595
*/
9696
@Deprecated
@@ -233,7 +233,7 @@ protected BiomeJson getThis() {
233233

234234
/**
235235
* Rome formatter step for JSON.
236-
*
236+
*
237237
* @deprecated Rome has transitioned to Biome. This will be removed shortly.
238238
*/
239239
@Deprecated

plugin-gradle/src/main/java/com/diffplug/gradle/spotless/TypescriptExtension.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ public BiomeTs biome(String version) {
247247
* Defaults to downloading the default Rome version from the network. To work
248248
* offline, you can specify the path to the Rome executable via
249249
* {@code rome().pathToExe(...)}.
250-
*
250+
*
251251
* @deprecated Use {@link #biome()}.
252252
*/
253253
@Deprecated
@@ -257,7 +257,7 @@ public RomeTs rome() {
257257

258258
/**
259259
* Downloads the given Rome version from the network.
260-
*
260+
*
261261
* @deprecated Use {@link #biome(String)}.
262262
*/
263263
@Deprecated
@@ -294,7 +294,7 @@ protected BiomeTs getThis() {
294294

295295
/**
296296
* Rome formatter step for TypeScript.
297-
*
297+
*
298298
* @deprecated Rome has transitioned to Biome. This will be removed shortly.
299299
*/
300300
@Deprecated

0 commit comments

Comments
 (0)