]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.scl.commands/src/org/simantics/scl/commands/internal/checker/BooleanCheckItem.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.scl.commands / src / org / simantics / scl / commands / internal / checker / BooleanCheckItem.java
1 package org.simantics.scl.commands.internal.checker;
2
3 import java.util.List;
4
5 import org.simantics.scl.compiler.types.Type;
6
7 public enum BooleanCheckItem implements CheckItem {
8     INSTANCE;
9
10     @Override
11     public boolean check(Object check, Object[] parameters, int pos) {
12         return (Boolean)check;
13     }
14
15     @Override
16     public void collectParameterTypes(List<Type> types) {
17     }
18     
19 }