This is an automated email from the ASF dual-hosted git repository.
andreww pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/royale-docs.git
The following commit(s) were added to refs/heads/master by this push:
new c40089d Update abstract-classes.md
c40089d is described below
commit c40089da6c6d873fa54a51729855f5086b2956c0
Author: Andrew Wetmore <[email protected]>
AuthorDate: Sat Dec 7 19:17:55 2019 -0400
Update abstract-classes.md
Minor text corrections
---
features/actionscript/abstract-classes.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/features/actionscript/abstract-classes.md
b/features/actionscript/abstract-classes.md
index 7054232..e9306a6 100644
--- a/features/actionscript/abstract-classes.md
+++ b/features/actionscript/abstract-classes.md
@@ -66,7 +66,7 @@ The `GraphicsObject` class defines a method named `draw()`
that also uses the `a
> The `IGraphicsContext` type used by the single parameter of `draw()` is a
> hypothetical interface that (for the purposes of this example) we'll say has
> two methods, named `moveTo()` and `lineTo()`.
-The next code sample show how to extend the abstract class `GraphicsObject`
and implement its `draw()` method:
+The next code sample shows how to extend the abstract class `GraphicsObject`
and implement its `draw()` method:
```as3
@@ -115,6 +115,6 @@ package
Checking whether a class is abstract happens at compile-time only. However, by
using reflection APIs, a developer could potentially gain access to an abstract
class and instantiate it at run-time without errors.
-If a SWC library contains classes with abstract classes, applications using
that library must also enable abstract classes before the compiler will enforce
any restrictions.
+If a SWC library contains abstract classes, applications using that library
must also enable abstract classes before the compiler will enforce any
restrictions.
-Other ActionScript compilers, such as the one in the [Apache Flex
SDK](https://flex.apache.org/){:target='_blank'}, may not recognize or enforce
private constructors. Attemping to pass source code or SWC libraries that
contain classes with private constructors to another compiler may result in
compile-time errors or unexpected behavior at run-time. In other words, to
write 100% portable ActionScript code that works with any compiler, you should
avoid using abstract classes and any of Roy [...]
+Other ActionScript compilers, such as the one in the [Apache Flex
SDK](https://flex.apache.org/){:target='_blank'}, may not recognize or enforce
private constructors. Attemping to pass source code or SWC libraries that
contain classes with private constructors to another compiler may result in
compile-time errors or unexpected behavior at run-time. In other words, to
write 100% portable ActionScript code that works with any compiler, avoid using
abstract classes and any of Royale's other [...]