Changeset 22652


Ignore:
Timestamp:
02/09/10 13:31:44 (17 months ago)
Author:
rns
Message:

Checkstyle fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/mnw21/pathquery_refactor/intermine/api/main/src/org/intermine/api/template/TemplatePopulator.java

    r22631 r22652  
    226226     * @param template the template to constrain 
    227227     * @param templateValue container for the value to set constraint to 
     228     * @throws PathException if a TemplateValue contains an invalid path 
    228229     */ 
    229230    protected static void setConstraint(TemplateQuery template, TemplateValue templateValue) 
     
    258259                if (templateValue.getOperation().equals(ConstraintOp.IN) 
    259260                        || templateValue.getOperation().equals(ConstraintOp.NOT_IN)) { 
    260                     newConstraint = new PathConstraintMultiValue(constraintPath.getNoConstraintsString(), 
    261                             templateValue.getOperation(), Arrays.asList(templateValue.getValue().split(","))); 
     261                    newConstraint = 
     262                        new PathConstraintMultiValue(constraintPath.getNoConstraintsString(), 
     263                                templateValue.getOperation(), 
     264                                Arrays.asList(templateValue.getValue().split(","))); 
    262265                } else { 
    263266                    newConstraint = 
     
    274277                            templateValue.getOperation()); 
    275278            } else if (originalConstraint instanceof PathConstraintMultiValue) { 
    276                 newConstraint = new PathConstraintMultiValue(constraintPath.getNoConstraintsString(), 
    277                             templateValue.getOperation(), Arrays.asList(templateValue.getValue().split(","))); 
     279                newConstraint = 
     280                    new PathConstraintMultiValue(constraintPath.getNoConstraintsString(), 
     281                            templateValue.getOperation(), 
     282                            Arrays.asList(templateValue.getValue().split(","))); 
    278283            } 
    279284            template.replaceConstraint(originalConstraint, newConstraint); 
Note: See TracChangeset for help on using the changeset viewer.