remove some asserts
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/3d87ef91 Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/3d87ef91 Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/3d87ef91 Branch: refs/heads/maven Commit: 3d87ef91a00cbc30778c8e54028da66031a93631 Parents: 685f5f1 Author: Alex Harui <aha...@apache.org> Authored: Wed Nov 20 12:21:13 2013 -0800 Committer: Alex Harui <aha...@apache.org> Committed: Wed Nov 20 12:21:43 2013 -0800 ---------------------------------------------------------------------- .../compiler/internal/codegen/mxml/flexjs/MXMLFlexJSEmitter.java | 2 +- .../internal/codegen/databinding/MXMLBindingDirectiveHelper.java | 1 - .../flex/compiler/internal/css/codegen/CSSCompilationSession.java | 2 -- 3 files changed, 1 insertion(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/3d87ef91/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSEmitter.java ---------------------------------------------------------------------- diff --git a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSEmitter.java b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSEmitter.java index f722223..fc7392b 100644 --- a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSEmitter.java +++ b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSEmitter.java @@ -413,7 +413,7 @@ public class MXMLFlexJSEmitter extends MXMLEmitter implements { // TODO: figure out what this looks like // propertyGetterFunction = this.propertyGetter; - assert propertyGetterFunction != null; + // assert propertyGetterFunction != null; } else if (watcherInfoBase.isRoot && makeStaticWatcher) { http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/3d87ef91/compiler/src/org/apache/flex/compiler/internal/codegen/databinding/MXMLBindingDirectiveHelper.java ---------------------------------------------------------------------- diff --git a/compiler/src/org/apache/flex/compiler/internal/codegen/databinding/MXMLBindingDirectiveHelper.java b/compiler/src/org/apache/flex/compiler/internal/codegen/databinding/MXMLBindingDirectiveHelper.java index b4ea1c3..0fb28a8 100644 --- a/compiler/src/org/apache/flex/compiler/internal/codegen/databinding/MXMLBindingDirectiveHelper.java +++ b/compiler/src/org/apache/flex/compiler/internal/codegen/databinding/MXMLBindingDirectiveHelper.java @@ -290,7 +290,6 @@ public class MXMLBindingDirectiveHelper if (watcherInfoBase.isRoot && !makeStaticWatcher) { propertyGetterFunction = this.propertyGetter; - assert propertyGetterFunction != null; } else if (watcherInfoBase.isRoot && makeStaticWatcher) { http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/3d87ef91/compiler/src/org/apache/flex/compiler/internal/css/codegen/CSSCompilationSession.java ---------------------------------------------------------------------- diff --git a/compiler/src/org/apache/flex/compiler/internal/css/codegen/CSSCompilationSession.java b/compiler/src/org/apache/flex/compiler/internal/css/codegen/CSSCompilationSession.java index ce9c50d..29d0c9a 100644 --- a/compiler/src/org/apache/flex/compiler/internal/css/codegen/CSSCompilationSession.java +++ b/compiler/src/org/apache/flex/compiler/internal/css/codegen/CSSCompilationSession.java @@ -168,8 +168,6 @@ public class CSSCompilationSession */ protected ICSSDocument synthesisNormalizedCSS() { - assert singleSelectorRules.isEmpty() && rulesWithMediaQueries.isEmpty() : "CSSCompilationSession.synthesisNormalizedCSS() can only be called once per compilation session."; - for (final ICSSDocument cssDocument : cssDocuments) { for (final ICSSRule newRule : cssDocument.getRules())