Skip to content

Commit

Permalink
removing a couple dead variable creations
Browse files Browse the repository at this point in the history
  • Loading branch information
Lance Staples committed Oct 2, 2012
1 parent 9637984 commit 48e96e2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions system/core/Hyrule.cfc
Expand Up @@ -61,7 +61,6 @@ component accessors="true" {
private ValidationResult function validateAgainstRuleSet(required any target,required string context, required any ruleSet,required string stopOnFirstFail){
var result = new ValidationResult(new ValidationMessageProvider( getSettingsBean() ));
var meta = getMetaData(arguments.target);
var targetname = meta.Name;
var properties = {};

//build a map of properties by name for fast lookup later
Expand All @@ -80,8 +79,6 @@ component accessors="true" {
// if this property already failed and we are stopping at first property failure skip this iteration
if(result.propertyHasError(validationRule.getPropertyName()) && arguments.stopOnFirstFail == 'property') continue;

var type = targetName & "." & validationRule.getPropertyName() & "." & validationRule.getConstraintName();

// if a context is requested and we do not find the property name in the context then skip this contstraint
if( arguments.context != "*"
&& !listFindNoCase(arguments.context,validationRule.getPropertyName())
Expand Down

0 comments on commit 48e96e2

Please sign in to comment.