Skip to content

Commit

Permalink
chore: fix outdated AppShell javadoc (#9453)
Browse files Browse the repository at this point in the history
  • Loading branch information
haijian-vaadin authored and tanbt committed Feb 9, 2021
1 parent 2cb6246 commit e4767e0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
* @BodySize(height = "100vh", width = "100vw")
* @PageTitle("my-title")
* CPush(value = PushMode.AUTOMATIC, transport = Transport.WEBSOCKET_XHR)
* public class AppShell implements VaadinAppShell {
* public class AppShell implements AppShellConfigurator {
* }
* </code>
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public void reset() {
* null to reset the previous one when reusing the instance.
*
* @param shell
* the class extending VaadinAppShell class.
* the class implementing AppShellConfigurator.
*/
public void setShell(Class<? extends AppShellConfigurator> shell) {
if (this.appShellClass != null && shell != null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public static void init(Set<Class<?>> classes, ServletContext context,
List<String> offendingAnnotations = new ArrayList<>();

classes.stream()
// sort classes by putting VaadinAppShell in first position
// sort classes by putting the app shell in first position
.sorted((a, b) -> registry.isShell(a) ? -1
: registry.isShell(b) ? 1 : 0)
.forEach(clz -> {
Expand Down

0 comments on commit e4767e0

Please sign in to comment.