Skip to content

Commit 18c601e

Browse files
committed
Make SourceCodeView and SplitLayoutDemo package-private
1 parent 30ca576 commit 18c601e

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

src/main/java/com/flowingcode/vaadin/addons/demo/impl/SourceCodeView.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
* Licensed under the Apache License, Version 2.0 (the "License");
88
* you may not use this file except in compliance with the License.
99
* You may obtain a copy of the License at
10-
*
10+
*
1111
* http://www.apache.org/licenses/LICENSE-2.0
12-
*
12+
*
1313
* Unless required by applicable law or agreed to in writing, software
1414
* distributed under the License is distributed on an "AS IS" BASIS,
1515
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -23,7 +23,7 @@
2323
import com.vaadin.flow.component.html.IFrame;
2424

2525
@SuppressWarnings("serial")
26-
public class SourceCodeView extends Composite<IFrame> {
26+
class SourceCodeView extends Composite<IFrame> {
2727

2828
public SourceCodeView(String sourceUrl) {
2929
getContent().getElement().setAttribute("frameborder", "0");

src/main/java/com/flowingcode/vaadin/addons/demo/impl/SplitLayoutDemo.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
* Licensed under the Apache License, Version 2.0 (the "License");
88
* you may not use this file except in compliance with the License.
99
* You may obtain a copy of the License at
10-
*
10+
*
1111
* http://www.apache.org/licenses/LICENSE-2.0
12-
*
12+
*
1313
* Unless required by applicable law or agreed to in writing, software
1414
* distributed under the License is distributed on an "AS IS" BASIS,
1515
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -21,12 +21,11 @@
2121

2222
import com.vaadin.flow.component.Component;
2323
import com.vaadin.flow.component.Composite;
24-
import com.vaadin.flow.component.HasSize;
2524
import com.vaadin.flow.component.splitlayout.SplitLayout;
2625
import com.vaadin.flow.component.splitlayout.SplitLayout.Orientation;
2726

2827
@SuppressWarnings("serial")
29-
public class SplitLayoutDemo<T extends Component> extends Composite<SplitLayout> {
28+
class SplitLayoutDemo<T extends Component> extends Composite<SplitLayout> {
3029

3130
private SourceCodeView code;
3231
private T demo;

0 commit comments

Comments
 (0)