Skip to content

Commit 107e9a9

Browse files
committed
Blowdryer'ed spotless (which brings a license header bump and import sort).
1 parent 27bfd8b commit 107e9a9

File tree

78 files changed

+402
-420
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+402
-420
lines changed

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ apply from: 干.file('helper/javadoc-markdown.gradle')
1414

1515
subprojects { subProject ->
1616
apply from: 干.file('base/java8.gradle')
17+
apply from: 干.file('spotless/java.gradle')
1718

1819
ext.maven_name = subProject.name
1920
ext.javadoc_links = [

durian-swt.cocoa.macosx.x86_64/src/main/java/com/diffplug/common/swt/widgets/SmoothTable.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/*
2-
* Copyright 2018 DiffPlug
2+
* Copyright 2020 DiffPlug
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
66
* You may obtain a copy of the License at
77
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
8+
* https://www.apache.org/licenses/LICENSE-2.0
99
*
1010
* Unless required by applicable law or agreed to in writing, software
1111
* distributed under the License is distributed on an "AS IS" BASIS,
@@ -15,6 +15,7 @@
1515
*/
1616
package com.diffplug.common.swt.widgets;
1717

18+
1819
import org.eclipse.swt.internal.cocoa.NSPoint;
1920
import org.eclipse.swt.widgets.Composite;
2021

durian-swt.gtk.linux.x86/src/main/java/com/diffplug/common/swt/widgets/SmoothTable.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/*
2-
* Copyright 2018 DiffPlug
2+
* Copyright 2020 DiffPlug
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
66
* You may obtain a copy of the License at
77
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
8+
* https://www.apache.org/licenses/LICENSE-2.0
99
*
1010
* Unless required by applicable law or agreed to in writing, software
1111
* distributed under the License is distributed on an "AS IS" BASIS,
@@ -15,6 +15,7 @@
1515
*/
1616
package com.diffplug.common.swt.widgets;
1717

18+
1819
import org.eclipse.swt.widgets.Composite;
1920

2021
public final class SmoothTable extends AbstractSmoothTable.Scrollable {

durian-swt.gtk.linux.x86_64/src/main/java/com/diffplug/common/swt/widgets/SmoothTable.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/*
2-
* Copyright 2018 DiffPlug
2+
* Copyright 2020 DiffPlug
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
66
* You may obtain a copy of the License at
77
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
8+
* https://www.apache.org/licenses/LICENSE-2.0
99
*
1010
* Unless required by applicable law or agreed to in writing, software
1111
* distributed under the License is distributed on an "AS IS" BASIS,
@@ -15,6 +15,7 @@
1515
*/
1616
package com.diffplug.common.swt.widgets;
1717

18+
1819
import org.eclipse.swt.widgets.Composite;
1920

2021
public final class SmoothTable extends AbstractSmoothTable.Scrollable {

durian-swt.os/src/main/java/com/diffplug/common/swt/os/Arch.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/*
2-
* Copyright 2018 DiffPlug
2+
* Copyright 2020 DiffPlug
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
66
* You may obtain a copy of the License at
77
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
8+
* https://www.apache.org/licenses/LICENSE-2.0
99
*
1010
* Unless required by applicable law or agreed to in writing, software
1111
* distributed under the License is distributed on an "AS IS" BASIS,

durian-swt.os/src/main/java/com/diffplug/common/swt/os/OS.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/*
2-
* Copyright 2018 DiffPlug
2+
* Copyright 2020 DiffPlug
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
66
* You may obtain a copy of the License at
77
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
8+
* https://www.apache.org/licenses/LICENSE-2.0
99
*
1010
* Unless required by applicable law or agreed to in writing, software
1111
* distributed under the License is distributed on an "AS IS" BASIS,
@@ -15,6 +15,7 @@
1515
*/
1616
package com.diffplug.common.swt.os;
1717

18+
1819
import java.util.Arrays;
1920
import java.util.Locale;
2021

durian-swt.os/src/main/java/com/diffplug/common/swt/os/SwtPlatform.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/*
2-
* Copyright 2018 DiffPlug
2+
* Copyright 2020 DiffPlug
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
66
* You may obtain a copy of the License at
77
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
8+
* https://www.apache.org/licenses/LICENSE-2.0
99
*
1010
* Unless required by applicable law or agreed to in writing, software
1111
* distributed under the License is distributed on an "AS IS" BASIS,
@@ -15,6 +15,7 @@
1515
*/
1616
package com.diffplug.common.swt.os;
1717

18+
1819
import java.util.Arrays;
1920
import java.util.HashMap;
2021
import java.util.LinkedHashMap;

durian-swt.os/src/main/java/com/diffplug/common/swt/os/WS.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/*
2-
* Copyright 2018 DiffPlug
2+
* Copyright 2020 DiffPlug
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
66
* You may obtain a copy of the License at
77
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
8+
* https://www.apache.org/licenses/LICENSE-2.0
99
*
1010
* Unless required by applicable law or agreed to in writing, software
1111
* distributed under the License is distributed on an "AS IS" BASIS,
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
@ParametersAreNonnullByDefault
22
package com.diffplug.common.swt.os;
33

4+
45
import javax.annotation.ParametersAreNonnullByDefault;

durian-swt.os/src/test/java/com/diffplug/common/swt/os/SwtPlatformTest.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/*
2-
* Copyright 2018 DiffPlug
2+
* Copyright 2020 DiffPlug
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
66
* You may obtain a copy of the License at
77
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
8+
* https://www.apache.org/licenses/LICENSE-2.0
99
*
1010
* Unless required by applicable law or agreed to in writing, software
1111
* distributed under the License is distributed on an "AS IS" BASIS,
@@ -15,6 +15,7 @@
1515
*/
1616
package com.diffplug.common.swt.os;
1717

18+
1819
import org.junit.Assert;
1920
import org.junit.Test;
2021

0 commit comments

Comments
 (0)