Skip to content

Commit ca88471

Browse files
committed
SpotlessApply.
1 parent 05a48ae commit ca88471

File tree

3 files changed

+33
-15
lines changed

3 files changed

+33
-15
lines changed

durian-swt/src/main/java/com/diffplug/common/swt/CoatMux.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,9 @@ public RxGetter<Boolean> rxOnTop() {
8383
}
8484

8585
/** The control at the root of this layer. */
86-
public Control getControl() { return control; }
86+
public Control getControl() {
87+
return control;
88+
}
8789

8890
/** The handle which was returned by the {@link Coat.Returning}. */
8991
public T getHandle() {

durian-swt/src/main/java/com/diffplug/common/swt/VScrollBubble.java

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,23 @@
11
/*
2-
* Copyright (C) 2020-2021 DiffPlug, LLC - All Rights Reserved
3-
* Unauthorized copying of this file via any medium is strictly prohibited.
4-
* Proprietary and confidential.
5-
* Please send any inquiries to Ned Twigg <[email protected]>
2+
* Copyright (C) 2020-2022 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+
* https://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.
615
*/
716
package com.diffplug.common.swt;
817

9-
import java.util.Optional;
1018

19+
import com.diffplug.common.tree.TreeStream;
20+
import java.util.Optional;
1121
import org.eclipse.swt.SWT;
1222
import org.eclipse.swt.custom.ScrolledComposite;
1323
import org.eclipse.swt.graphics.Point;
@@ -20,9 +30,6 @@
2030
import org.eclipse.swt.widgets.Tree;
2131
import org.eclipse.swt.widgets.TreeItem;
2232

23-
import com.diffplug.common.swt.SwtMisc;
24-
import com.diffplug.common.tree.TreeStream;
25-
2633
/**
2734
* Bubbles vertical scroll events up to a parent container, so that you don't get stuck.
2835
* Doesn't work great on mac due to rubber-banding.

durian-swt/src/main/java/com/diffplug/common/swt/widgets/VScrollCtl.java

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,29 @@
11
/*
2-
* Copyright (C) 2018-2020 DiffPlug, LLC - All Rights Reserved
3-
* Unauthorized copying of this file via any medium is strictly prohibited.
4-
* Proprietary and confidential.
5-
* Please send any inquiries to Ned Twigg <[email protected]>
2+
* Copyright (C) 2018-2022 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+
* https://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.
615
*/
716
package com.diffplug.common.swt.widgets;
817

18+
19+
import com.diffplug.common.swt.ControlWrapper;
920
import com.diffplug.common.swt.VScrollBubble;
1021
import org.eclipse.swt.SWT;
1122
import org.eclipse.swt.custom.ScrolledComposite;
1223
import org.eclipse.swt.graphics.Point;
1324
import org.eclipse.swt.widgets.Composite;
1425
import org.eclipse.swt.widgets.Control;
1526

16-
import com.diffplug.common.swt.ControlWrapper;
17-
1827
/**
1928
* SWT provides {@link ScrolledComposite} which provides a wealth of
2029
* scrolling behavior ([google](https://www.google.com/search?q=SWT+ScrolledComposite)).

0 commit comments

Comments
 (0)