mirror of
https://github.com/querydsl/querydsl.git
synced 2026-07-03 21:07:49 +08:00
Organize imports
This commit is contained in:
parent
382b4dbbab
commit
6bca4c1fd0
@ -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;
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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;
|
||||
|
||||
@ -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;
|
||||
|
||||
@ -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() {
|
||||
|
||||
@ -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 {
|
||||
|
||||
|
||||
@ -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{
|
||||
|
||||
|
||||
@ -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.
|
||||
*/
|
||||
|
||||
@ -13,9 +13,10 @@
|
||||
*/
|
||||
package com.mysema.query.jpa.domain;
|
||||
|
||||
import javax.persistence.*;
|
||||
import java.util.List;
|
||||
|
||||
import javax.persistence.*;
|
||||
|
||||
/**
|
||||
* The Class Order.
|
||||
*/
|
||||
|
||||
Loading…
Reference in New Issue
Block a user