Skip to content

Commit a5afbf3

Browse files
committed
Organize imports
1 parent f407763 commit a5afbf3

94 files changed

Lines changed: 261 additions & 531 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/main/java/com/googlecode/objectify/KeyRange.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
package com.googlecode.objectify;
22

3+
import com.googlecode.objectify.util.TranslatingIterator;
4+
35
import java.io.Serializable;
46
import java.util.Iterator;
57

6-
import com.googlecode.objectify.util.TranslatingIterator;
7-
88
/**
99
* <p>This is a typesafe version of the KeyRange object. It represents a number
1010
* of ids preallocated with {@code ObjectifyFactory#allocateIds(Class, long)}.</p>

src/main/java/com/googlecode/objectify/ObjectifyFilter.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,13 @@
33

44
package com.googlecode.objectify;
55

6-
import java.io.IOException;
6+
import com.googlecode.objectify.cache.AsyncCacheFilter;
77

88
import javax.servlet.FilterChain;
99
import javax.servlet.ServletException;
1010
import javax.servlet.ServletRequest;
1111
import javax.servlet.ServletResponse;
12-
13-
import com.googlecode.objectify.cache.AsyncCacheFilter;
12+
import java.io.IOException;
1413

1514
/**
1615
* Configure this filter to use Objectify in your application. It works in concert with {@code ObjectifyService}

src/main/java/com/googlecode/objectify/ObjectifyService.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66
import java.util.ArrayDeque;
77
import java.util.Deque;
88

9-
import com.googlecode.objectify.Objectify;
10-
import com.googlecode.objectify.ObjectifyFactory;
11-
129
/**
1310
* Holder of the master ObjectifyFactory and provider of the current thread-local Objectify instance.
1411
* Call {@code ofy()} at any point to get the current Objectify with the correct transaction context.

src/main/java/com/googlecode/objectify/Ref.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
package com.googlecode.objectify;
22

3-
import java.io.Serializable;
4-
53
import com.googlecode.objectify.impl.ref.LiveRef;
64

5+
import java.io.Serializable;
6+
77

88
/**
99
* <p>Ref<?> is a Key<?> which allows the entity value to be fetched directly.</p>

src/main/java/com/googlecode/objectify/annotation/IgnoreSave.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
package com.googlecode.objectify.annotation;
22

3+
import com.googlecode.objectify.condition.If;
4+
35
import java.lang.annotation.ElementType;
46
import java.lang.annotation.Retention;
57
import java.lang.annotation.RetentionPolicy;
68
import java.lang.annotation.Target;
79

8-
import com.googlecode.objectify.condition.If;
9-
1010
/**
1111
* <p>When placed on an entity field, the field will not be written to the datastore.
1212
* It will, however, be loaded normally. This is particularly useful in concert with

src/main/java/com/googlecode/objectify/annotation/Index.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
package com.googlecode.objectify.annotation;
22

3+
import com.googlecode.objectify.condition.If;
4+
35
import java.lang.annotation.ElementType;
46
import java.lang.annotation.Retention;
57
import java.lang.annotation.RetentionPolicy;
68
import java.lang.annotation.Target;
79

8-
import com.googlecode.objectify.condition.If;
9-
1010
/**
1111
* <p>This annotation controls whether or not fields are indexed in the datastore.</p>
1212
*

src/main/java/com/googlecode/objectify/annotation/Mapify.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
package com.googlecode.objectify.annotation;
22

3+
import com.googlecode.objectify.mapper.Mapper;
4+
35
import java.lang.annotation.ElementType;
46
import java.lang.annotation.Retention;
57
import java.lang.annotation.RetentionPolicy;
68
import java.lang.annotation.Target;
79

8-
import com.googlecode.objectify.mapper.Mapper;
9-
1010
/**
1111
* <p>This annotation causes collection fields to be converted into a map by selecting
1212
* out a key field of your choosing.</p>

src/main/java/com/googlecode/objectify/annotation/Stringify.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package com.googlecode.objectify.annotation;
22

3-
import com.googlecode.objectify.mapper.Mapper;
43
import com.googlecode.objectify.stringifier.Stringifier;
54

65
import java.lang.annotation.ElementType;

src/main/java/com/googlecode/objectify/annotation/Translate.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
package com.googlecode.objectify.annotation;
22

3+
import com.googlecode.objectify.impl.translate.TranslatorFactory;
4+
35
import java.lang.annotation.ElementType;
46
import java.lang.annotation.Retention;
57
import java.lang.annotation.RetentionPolicy;
68
import java.lang.annotation.Target;
79

8-
import com.googlecode.objectify.impl.translate.TranslatorFactory;
9-
1010
/**
1111
* <p>Lets you define a particular translator for a specific property (field or @AlsoLoad method).
1212
* The translator factory must produce a translator when handed the property on which this annotation

src/main/java/com/googlecode/objectify/annotation/Unindex.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
package com.googlecode.objectify.annotation;
22

3+
import com.googlecode.objectify.condition.If;
4+
35
import java.lang.annotation.ElementType;
46
import java.lang.annotation.Retention;
57
import java.lang.annotation.RetentionPolicy;
68
import java.lang.annotation.Target;
79

8-
import com.googlecode.objectify.condition.If;
9-
1010
/**
1111
* <p>This annotation controls whether or not fields are indexed in the datastore.</p>
1212
*

0 commit comments

Comments
 (0)