diff options
author | Fabian Lange <lange.fabian@gmail.com> | 2014-07-03 23:52:05 +0200 |
---|---|---|
committer | Fabian Lange <lange.fabian@gmail.com> | 2014-07-04 12:11:50 +0200 |
commit | a3578d3ac293442b64cbc5f5feb4cb9106799fdb (patch) | |
tree | 7fd80df9f84ac6ea14a2078fc266bdd1f3745526 /server/tests/src/com/vaadin | |
parent | 3db6df2eabcb7c3d9461ea6ff2b89b95cf6446d3 (diff) | |
download | vaadin-framework-a3578d3ac293442b64cbc5f5feb4cb9106799fdb.tar.gz vaadin-framework-a3578d3ac293442b64cbc5f5feb4cb9106799fdb.zip |
Avoid object creation in getAllChildrenIterable in most cases. (#14142)
API change from:
public static Iterable<ClientConnector> getAllChildrenIterable(final ClientConnector connector)
to
public static Iterable<? extends ClientConnector> getAllChildrenIterable(final ClientConnector connector)
avoids creating wrappers in case the component has either no subcomponents
or no extensions. This covers the vast majority of components.
Change-Id: I48ffd2f26f09c265fae6e1aaabdbaa655d52ffb8
Diffstat (limited to 'server/tests/src/com/vaadin')
-rw-r--r-- | server/tests/src/com/vaadin/tests/server/TestClassesSerializable.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/tests/src/com/vaadin/tests/server/TestClassesSerializable.java b/server/tests/src/com/vaadin/tests/server/TestClassesSerializable.java index e938a1cd37..63f79504ff 100644 --- a/server/tests/src/com/vaadin/tests/server/TestClassesSerializable.java +++ b/server/tests/src/com/vaadin/tests/server/TestClassesSerializable.java @@ -63,6 +63,8 @@ public class TestClassesSerializable extends TestCase { "com\\.vaadin\\.sass.*", // "com\\.vaadin\\.testbench.*", // "com\\.vaadin\\.util\\.CurrentInstance\\$1", // + "com\\.vaadin\\.server\\.AbstractClientConnector\\$1", // + "com\\.vaadin\\.server\\.AbstractClientConnector\\$1\\$1", // "com\\.vaadin\\.server\\.JsonCodec\\$1", // "com\\.vaadin\\.server\\.communication\\.PushConnection", // "com\\.vaadin\\.server\\.communication\\.AtmospherePushConnection", // |