Skip to content

Commit 04726b0

Browse files
committed
Where should that enum go? [ci skip]
1 parent 8aa4550 commit 04726b0

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/main/java/org/apache/ibatis/annotations/Many.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import java.lang.annotation.RetentionPolicy;
2121
import java.lang.annotation.Target;
2222

23-
import org.apache.ibatis.session.Loading;
23+
import org.apache.ibatis.mapping.Loading;
2424

2525
@Retention(RetentionPolicy.RUNTIME)
2626
@Target(ElementType.METHOD)

src/main/java/org/apache/ibatis/annotations/One.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import java.lang.annotation.RetentionPolicy;
2121
import java.lang.annotation.Target;
2222

23-
import org.apache.ibatis.session.Loading;
23+
import org.apache.ibatis.mapping.Loading;
2424

2525
@Retention(RetentionPolicy.RUNTIME)
2626
@Target(ElementType.METHOD)

src/main/java/org/apache/ibatis/builder/annotation/MapperAnnotationBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767
import org.apache.ibatis.executor.keygen.SelectKeyGenerator;
6868
import org.apache.ibatis.io.Resources;
6969
import org.apache.ibatis.mapping.Discriminator;
70+
import org.apache.ibatis.mapping.Loading;
7071
import org.apache.ibatis.mapping.MappedStatement;
7172
import org.apache.ibatis.mapping.ResultFlag;
7273
import org.apache.ibatis.mapping.ResultMapping;
@@ -76,7 +77,6 @@
7677
import org.apache.ibatis.mapping.StatementType;
7778
import org.apache.ibatis.scripting.LanguageDriver;
7879
import org.apache.ibatis.session.Configuration;
79-
import org.apache.ibatis.session.Loading;
8080
import org.apache.ibatis.session.ResultHandler;
8181
import org.apache.ibatis.session.RowBounds;
8282
import org.apache.ibatis.type.JdbcType;

src/main/java/org/apache/ibatis/session/Loading.java renamed to src/main/java/org/apache/ibatis/mapping/Loading.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package org.apache.ibatis.session;
16+
package org.apache.ibatis.mapping;
1717

1818
public enum Loading {
1919
LAZY, EAGER, DEFAULT

0 commit comments

Comments
 (0)