"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "flow-server/src/main/java/com/vaadin/flow/server/AppShellRegistry.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.

AppShellRegistry.java  (vaadin-flow-4.0.7):AppShellRegistry.java  (vaadin-flow-4.0.8)
skipping to change at line 124 skipping to change at line 124
*/ */
public void reset() { public void reset() {
this.appShellClass = null; this.appShellClass = null;
} }
/** /**
* Sets the {@link AppShellConfigurator} class in the application. Pass a * Sets the {@link AppShellConfigurator} class in the application. Pass a
* null to reset the previous one when reusing the instance. * null to reset the previous one when reusing the instance.
* *
* @param shell * @param shell
* the class extending VaadinAppShell class. * the class implementing AppShellConfigurator.
*/ */
public void setShell(Class<? extends AppShellConfigurator> shell) { public void setShell(Class<? extends AppShellConfigurator> shell) {
if (this.appShellClass != null && shell != null) { if (this.appShellClass != null && shell != null) {
throw new InvalidApplicationConfigurationException( throw new InvalidApplicationConfigurationException(
String.format(AppShellRegistry.ERROR_MULTIPLE_SHELL, String.format(AppShellRegistry.ERROR_MULTIPLE_SHELL,
this.appShellClass.getName(), shell.getName())); this.appShellClass.getName(), shell.getName()));
} }
this.appShellClass = shell; this.appShellClass = shell;
} }
 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)