You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@polygene.apache.org by so...@apache.org on 2015/09/05 23:57:22 UTC
[2/2] zest-java git commit: committed by a mistake
committed by a mistake
Project: http://git-wip-us.apache.org/repos/asf/zest-java/repo
Commit: http://git-wip-us.apache.org/repos/asf/zest-java/commit/d212c550
Tree: http://git-wip-us.apache.org/repos/asf/zest-java/tree/d212c550
Diff: http://git-wip-us.apache.org/repos/asf/zest-java/diff/d212c550
Branch: refs/heads/develop
Commit: d212c550df50844be5e51f4de90f90ce2873f170
Parents: ad1a2f5
Author: Kent Sølvsten <so...@apache.org>
Authored: Sat Sep 5 23:56:50 2015 +0200
Committer: Kent Sølvsten <so...@apache.org>
Committed: Sat Sep 5 23:56:50 2015 +0200
----------------------------------------------------------------------
.../org/apache/zest/runtime/bootstrap/CompositeAssemblyImpl.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/zest-java/blob/d212c550/core/runtime/src/main/java/org/apache/zest/runtime/bootstrap/CompositeAssemblyImpl.java
----------------------------------------------------------------------
diff --git a/core/runtime/src/main/java/org/apache/zest/runtime/bootstrap/CompositeAssemblyImpl.java b/core/runtime/src/main/java/org/apache/zest/runtime/bootstrap/CompositeAssemblyImpl.java
index 5c1bbb7..9190d67f 100755
--- a/core/runtime/src/main/java/org/apache/zest/runtime/bootstrap/CompositeAssemblyImpl.java
+++ b/core/runtime/src/main/java/org/apache/zest/runtime/bootstrap/CompositeAssemblyImpl.java
@@ -490,7 +490,7 @@ public abstract class CompositeAssemblyImpl
Class<? extends Annotation> annotationType = constraintAnnotation.annotationType();
for( Class<?> constraint : constraintClasses )
{
- if( false && helper.appliesTo( (Class<? extends Constraint<?, ?>>) constraint, annotationType, valueType ) )
+ if( helper.appliesTo( (Class<? extends Constraint<?, ?>>) constraint, annotationType, valueType ) )
{
constraintModels.add( new ConstraintModel( constraintAnnotation, (Class<? extends Constraint<?, ?>>) constraint ) );
continue nextConstraint;
@@ -513,7 +513,7 @@ public abstract class CompositeAssemblyImpl
// No implementation found!
// Check if if it's a composite constraints
- if( false && Arrays.stream( annotationType.getAnnotations() )
+ if( Arrays.stream( annotationType.getAnnotations() )
.anyMatch( translate( type(), hasAnnotation( ConstraintDeclaration.class ) ) ) )
{
ValueConstraintsModel valueConstraintsModel = constraintsFor(