You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ca...@apache.org on 2018/07/24 10:21:57 UTC
[royale-asjs] branch develop updated: Remove ListBase class since
it was substituted by DataContainerBase some time ago
This is an automated email from the ASF dual-hosted git repository.
carlosrovira pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/develop by this push:
new 3e1ea1e Remove ListBase class since it was substituted by DataContainerBase some time ago
3e1ea1e is described below
commit 3e1ea1ef533c330ba527ee0ef6d6bba9cbea5a78
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Tue Jul 24 12:21:52 2018 +0200
Remove ListBase class since it was substituted by DataContainerBase some time ago
---
.../projects/Basic/src/main/royale/BasicClasses.as | 1 -
.../main/royale/org/apache/royale/core/ListBase.as | 50 ----------------------
.../apache/royale/core/ListBaseStrandChildren.as | 8 ++--
.../royale/org/apache/royale/html/DataContainer.as | 1 -
4 files changed, 5 insertions(+), 55 deletions(-)
diff --git a/frameworks/projects/Basic/src/main/royale/BasicClasses.as b/frameworks/projects/Basic/src/main/royale/BasicClasses.as
index e58f780..200ed73 100644
--- a/frameworks/projects/Basic/src/main/royale/BasicClasses.as
+++ b/frameworks/projects/Basic/src/main/royale/BasicClasses.as
@@ -233,7 +233,6 @@ internal class BasicClasses
import org.apache.royale.html.beads.WebBrowserView; WebBrowserView;
import org.apache.royale.html.beads.models.WebBrowserModel; WebBrowserModel;
- import org.apache.royale.core.ListBase; ListBase;
import org.apache.royale.core.Lookalike; Lookalike;
import org.apache.royale.core.FilledRectangle; FilledRectangle;
diff --git a/frameworks/projects/Basic/src/main/royale/org/apache/royale/core/ListBase.as b/frameworks/projects/Basic/src/main/royale/org/apache/royale/core/ListBase.as
deleted file mode 100644
index a17d205..0000000
--- a/frameworks/projects/Basic/src/main/royale/org/apache/royale/core/ListBase.as
+++ /dev/null
@@ -1,50 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// 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.
-//
-////////////////////////////////////////////////////////////////////////////////
-package org.apache.royale.core
-{
- /*
- *************
- * THIS CLASS IS NO LONGER NEEDED. INHERIT FROM DataContainerBase
- */
-
- /**
- * The ListBase class is the base class for most lists
- * in Royale.
- *
- * @langversion 3.0
- * @playerversion Flash 10.2
- * @playerversion AIR 2.6
- * @productversion Royale 0.0
- */
- public class ListBase extends DataContainerBase
- {
- /**
- * Constructor.
- *
- * @langversion 3.0
- * @playerversion Flash 10.2
- * @playerversion AIR 2.6
- * @productversion Royale 0.0
- */
- public function ListBase()
- {
- super();
- }
- }
-}
diff --git a/frameworks/projects/Basic/src/main/royale/org/apache/royale/core/ListBaseStrandChildren.as b/frameworks/projects/Basic/src/main/royale/org/apache/royale/core/ListBaseStrandChildren.as
index 1358372..807913e 100644
--- a/frameworks/projects/Basic/src/main/royale/org/apache/royale/core/ListBaseStrandChildren.as
+++ b/frameworks/projects/Basic/src/main/royale/org/apache/royale/core/ListBaseStrandChildren.as
@@ -18,6 +18,8 @@
////////////////////////////////////////////////////////////////////////////////
package org.apache.royale.core
{
+ import org.apache.royale.core.DataContainerBase;
+
/**
* The ListBaseStrandChildren exists so that Lists are compatible with
* the ListView/ContainerView beads.
@@ -32,7 +34,7 @@ package org.apache.royale.core
/**
* Constructor.
*
- * @royaleignorecoercion org.apache.royale.core.ListBase
+ * @royaleignorecoercion org.apache.royale.core.DataContainerBase
* @langversion 3.0
* @playerversion Flash 10.2
* @playerversion AIR 2.6
@@ -42,10 +44,10 @@ package org.apache.royale.core
{
super();
- this.owner = owner as ListBase;
+ this.owner = owner as DataContainerBase;
}
- public var owner:ListBase;
+ public var owner:DataContainerBase;
/**
* @private
diff --git a/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/DataContainer.as b/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/DataContainer.as
index 40e8d75..2bb0d29 100644
--- a/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/DataContainer.as
+++ b/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/DataContainer.as
@@ -34,7 +34,6 @@ package org.apache.royale.html
import org.apache.royale.core.IListPresentationModel;
import org.apache.royale.core.IRollOverModel;
import org.apache.royale.core.IDataProviderModel;
- import org.apache.royale.core.ListBase;
import org.apache.royale.core.UIBase;
import org.apache.royale.core.ValuesManager;
COMPILE::JS