You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by an...@apache.org on 2019/12/08 11:07:20 UTC

[royale-docs] branch master updated: Update private-constructors.md

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 d08e71a  Update private-constructors.md
d08e71a is described below

commit d08e71a8159dc3f91eb917cc6c94648f29c2f7e1
Author: Andrew Wetmore <an...@cottage14.com>
AuthorDate: Sun Dec 8 07:07:14 2019 -0400

    Update private-constructors.md
    
    Minor text edits.
---
 features/actionscript/private-constructors.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/features/actionscript/private-constructors.md b/features/actionscript/private-constructors.md
index 7a5df4c..7c548e1 100644
--- a/features/actionscript/private-constructors.md
+++ b/features/actionscript/private-constructors.md
@@ -28,7 +28,7 @@ permalink: /features/as3/private-constructors
 
 ## Enable private constructors
 
-Like other [new ActionScript language features](features/as3#new-actionscript-language-features-in-royale) that Royale adds, are enabled by default. To disable private constructors in your application, use the `-allow-private-constructors` compiler option.
+Like other [new ActionScript language features](features/as3#new-actionscript-language-features-in-royale) that Royale adds, private constructors are enabled by default. To disable private constructors in your application, use the `-allow-private-constructors` compiler option.
 
 ```sh
 mxmlc -allow-private-constructors=false MyApp.mxml
@@ -99,7 +99,7 @@ package com.example
 
 ## Limitations of private constructors in Royale
 
-Checking whether a constructor is private or not happens at compile-time only. However, by using reflection APIs, a developer could potentially gain access to a private constructor and instantiate it at run-time without errors.
+Checking whether a constructor is private happens at compile-time only. However, by using reflection APIs, a developer could gain access to a private constructor and instantiate it at run-time without errors.
 
 If a SWC library contains classes with private constructors, applications using that library must also enable private constructors before the compiler will enforce any restrictions.