Clean up SpEL examples

This commit is contained in:
David Morley 2016-04-12 06:01:29 -05:00
parent 97e28426ac
commit f2dd909cec
4 changed files with 3 additions and 8 deletions

View File

@ -1,6 +1,6 @@
package com.baeldung.spring.spel; package com.baeldung.spring.spel;
import com.baeldung.spring.spel.examples.*; import com.baeldung.spring.spel.examples.SpelConditional;
import org.springframework.context.ApplicationContext; import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext;

View File

@ -2,16 +2,11 @@ package com.baeldung.spring.spel.examples;
import com.baeldung.spring.spel.entity.Car; import com.baeldung.spring.spel.entity.Car;
import com.baeldung.spring.spel.entity.CarPark; import com.baeldung.spring.spel.entity.CarPark;
import org.springframework.expression.EvaluationContext;
import org.springframework.expression.Expression;
import org.springframework.expression.ExpressionParser; import org.springframework.expression.ExpressionParser;
import org.springframework.expression.spel.SpelParserConfiguration; import org.springframework.expression.spel.SpelParserConfiguration;
import org.springframework.expression.spel.standard.SpelExpressionParser; import org.springframework.expression.spel.standard.SpelExpressionParser;
import org.springframework.expression.spel.support.StandardEvaluationContext; import org.springframework.expression.spel.support.StandardEvaluationContext;
import java.util.ArrayList;
import java.util.List;
public class SpelParser { public class SpelParser {
public static void main(String[] args) { public static void main(String[] args) {
Car car = new Car(); Car car = new Car();