return connector;
}
- return ConnectorMap.get(connector.getConnection())
- .getConnector(connectorId);
+ return ConnectorMap.get(connector.getConnection()).getConnector(
+ connectorId);
}
private void fireRpc(String iface, String method,
package com.vaadin.terminal.gwt.client.ui;
-
public class UnknownComponentConnector extends AbstractComponentConnector {
@Override
* included in the classpath, as well as the gwt-dev-[platform].jar and other
* relevant JARs.
*
- * @deprecated with Java 6, can use com.google.gwt.dev.Compiler directly (also in Eclipse plug-in etc.)
+ * @deprecated with Java 6, can use com.google.gwt.dev.Compiler directly (also
+ * in Eclipse plug-in etc.)
*/
@Deprecated
public class WidgetsetCompiler {
* <p>
* Getting a null value is often a problem in constructors of regular
* components and in the initializers of custom composite components. A
- * standard workaround is to use {@link Application#getCurrent()}
- * to retrieve the application instance that the current request relates to.
+ * standard workaround is to use {@link Application#getCurrent()} to
+ * retrieve the application instance that the current request relates to.
* Another way is to move the problematic initialization to
* {@link #attach()}, as described in the documentation of the method.
* </p>
Table t = new Table();
byte[] ser = SerializationUtils.serialize(t);
Table t2 = (Table) SerializationUtils.deserialize(ser);
-
+
}
+
public void testSerializationWithRowHeaders() {
Table t = new Table();
t.setRowHeaderMode(Table.ROW_HEADER_MODE_EXPLICIT);
}
private void reportCurrentStatus(String phase) {
- reportStatus(phase, Application.getCurrent(),
- Root.getCurrent());
+ reportStatus(phase, Application.getCurrent(), Root.getCurrent());
}
private void reportStatus(String phase, Application application, Root root) {
protected abstract Integer getTicketNumber();
protected WebBrowser getBrowser() {
- ApplicationContext context = Application.getCurrent()
- .getContext();
+ ApplicationContext context = Application.getCurrent().getContext();
if (context instanceof AbstractWebApplicationContext) {
AbstractWebApplicationContext webContext = (AbstractWebApplicationContext) context;
return webContext.getBrowser();