You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wicket.apache.org by GitBox <gi...@apache.org> on 2020/04/30 11:45:12 UTC

[GitHub] [wicket] papegaaij opened a new pull request #424: WICKET-6774: rework of component state

papegaaij opened a new pull request #424:
URL: https://github.com/apache/wicket/pull/424


   State of a component is no longer stored as an array but using instances
   of ComponentState. These have a smaller memory footprint in most cases,
   are more efficient and the code is easier to read (I hope).
   
   Note that a small change in behavior is introduced: behavior ids are
   only maintained for statefull behaviors. Ids can change for other
   behaviors, also when combined on the same component.
   
   `ComponentState` still needs documentation, but first let's agree on this approach.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [wicket] solomax commented on a change in pull request #424: WICKET-6774: rework of component state

Posted by GitBox <gi...@apache.org>.
solomax commented on a change in pull request #424:
URL: https://github.com/apache/wicket/pull/424#discussion_r418362991



##########
File path: wicket-core/src/main/java/org/apache/wicket/ComponentState.java
##########
@@ -1,18 +1,12 @@
 /*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Licensed to the Apache Software Foundation (ASF) under one or more contributor license

Review comment:
       i would restore formatting here :)




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [wicket] papegaaij commented on a change in pull request #424: WICKET-6774: rework of component state

Posted by GitBox <gi...@apache.org>.
papegaaij commented on a change in pull request #424:
URL: https://github.com/apache/wicket/pull/424#discussion_r418442423



##########
File path: wicket-core/src/main/java/org/apache/wicket/ComponentState.java
##########
@@ -1,18 +1,12 @@
 /*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Licensed to the Apache Software Foundation (ASF) under one or more contributor license

Review comment:
       I've found the setting in Eclipse to prevent it from reformatting these headers, hope that helps :)




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org