"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "flow-server/src/main/java/com/vaadin/flow/server/startup/VaadinAppShellInitializer.java" between
vaadin-flow-4.0.7.tar.gz and vaadin-flow-4.0.8.tar.gz

About: Vaadin flow is a Java framework binding Vaadin 17 web components to Java.

VaadinAppShellInitializer.java  (vaadin-flow-4.0.7):VaadinAppShellInitializer.java  (vaadin-flow-4.0.8)
skipping to change at line 127 skipping to change at line 127
.getInstance(new VaadinServletContext(context)); .getInstance(new VaadinServletContext(context));
registry.reset(); registry.reset();
if (classes == null || classes.isEmpty()) { if (classes == null || classes.isEmpty()) {
return; return;
} }
List<String> offendingAnnotations = new ArrayList<>(); List<String> offendingAnnotations = new ArrayList<>();
classes.stream() 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 .sorted((a, b) -> registry.isShell(a) ? -1
: registry.isShell(b) ? 1 : 0) : registry.isShell(b) ? 1 : 0)
.forEach(clz -> { .forEach(clz -> {
if (registry.isShell(clz)) { if (registry.isShell(clz)) {
registry.setShell( registry.setShell(
(Class<? extends AppShellConfigurator>) clz); (Class<? extends AppShellConfigurator>) clz);
getLogger().info( getLogger().info(
"Using {} class for configuring `index.html` res ponse", "Using {} class for configuring `index.html` res ponse",
clz.getName()); clz.getName());
} else { } else {
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)