Explorar el Código

Improve error message for missing class name id (#14643)

Change-Id: I71a96985fab62b648207393916566f3e1d757ad1
tags/7.4.0.beta1
Leif Åstrand hace 9 años
padre
commit
38125ebc3b
Se han modificado 1 ficheros con 5 adiciones y 1 borrados
  1. 5
    1
      client/src/com/vaadin/client/ApplicationConfiguration.java

+ 5
- 1
client/src/com/vaadin/client/ApplicationConfiguration.java Ver fichero

@@ -547,7 +547,11 @@ public class ApplicationConfiguration implements EntryPoint {

String getUnknownServerClassNameByTag(int tag) {
if (unknownComponents != null) {
return unknownComponents.get(tag);
String className = unknownComponents.get(tag);
if (className == null) {
className = "unknown class with id " + tag;
}
return className;
}
return null;
}

Cargando…
Cancelar
Guardar