Organize imports

This commit is contained in:
Timo Westkämper 2014-12-13 12:55:27 +02:00
parent 382b4dbbab
commit 6bca4c1fd0
9 changed files with 29 additions and 17 deletions

View File

@ -13,9 +13,10 @@
*/
package com.mysema.query.types;
import java.io.Serializable;
import javax.annotation.Nullable;
import javax.annotation.concurrent.Immutable;
import java.io.Serializable;
import com.google.common.base.Objects;

View File

@ -13,12 +13,13 @@
*/
package com.mysema.query.types;
import static com.mysema.query.util.CollectionUtils.add;
import java.io.Serializable;
import java.util.Set;
import com.mysema.query.JoinExpression;
import com.mysema.query.QueryMetadata;
import static com.mysema.query.util.CollectionUtils.add;
/**
* ValidatingVisitor visits expressions and ensures that only known path instances are used

View File

@ -1,8 +1,9 @@
package com.mysema.query.jpa;
import javax.annotation.Nullable;
import java.util.Map;
import javax.annotation.Nullable;
import com.google.common.collect.Maps;
import com.mysema.query.JoinType;
import com.mysema.query.QueryMetadata;

View File

@ -1,8 +1,9 @@
package com.mysema.query.jpa;
import javax.annotation.Nullable;
import java.util.Map;
import javax.annotation.Nullable;
import com.google.common.collect.Maps;
import com.mysema.query.JoinType;
import com.mysema.query.QueryMetadata;

View File

@ -13,10 +13,11 @@
*/
package com.mysema.query.jpa;
import com.mysema.query.types.Expression;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import com.mysema.query.types.Expression;
public abstract class AbstractQueryTest implements Constants {
protected QueryHelper query() {

View File

@ -13,8 +13,14 @@
*/
package com.mysema.query.jpa;
import antlr.RecognitionException;
import antlr.TokenStreamException;
import static com.mysema.query.Target.*;
import static com.mysema.query.alias.Alias.$;
import static com.mysema.query.alias.Alias.alias;
import static org.junit.Assert.assertEquals;
import org.junit.Ignore;
import org.junit.Test;
import com.mysema.query.NoBatooJPA;
import com.mysema.query.NoEclipseLink;
import com.mysema.query.NoOpenJPA;
@ -23,12 +29,9 @@ import com.mysema.query.types.expr.ComparableExpression;
import com.mysema.query.types.expr.DateExpression;
import com.mysema.query.types.expr.NumberExpression;
import com.mysema.testutil.ExcludeIn;
import org.junit.Ignore;
import org.junit.Test;
import static com.mysema.query.Target.*;
import static com.mysema.query.alias.Alias.$;
import static com.mysema.query.alias.Alias.alias;
import static org.junit.Assert.assertEquals;
import antlr.RecognitionException;
import antlr.TokenStreamException;
public class ParsingTest extends AbstractQueryTest {

View File

@ -13,11 +13,13 @@
*/
package com.mysema.query.jpa;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
import com.mysema.query.domain.QCat;
import com.mysema.query.jpa.domain.QEmployee;
import com.mysema.query.jpa.domain.QUser;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
public class SubQueryTest extends AbstractQueryTest{

View File

@ -13,11 +13,12 @@
*/
package com.mysema.query.jpa.domain;
import javax.persistence.*;
import java.util.ArrayList;
import java.util.List;
import java.util.Set;
import javax.persistence.*;
/**
* The Class Cat.
*/

View File

@ -13,9 +13,10 @@
*/
package com.mysema.query.jpa.domain;
import javax.persistence.*;
import java.util.List;
import javax.persistence.*;
/**
* The Class Order.
*/