From 6fcde2655e8aedd56bff1de4e85bb83fee15c591 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Wed, 19 Apr 2017 16:41:12 +0200 Subject: java : MyMyBatis : reorder AbstractMapper type parameters --- java/MyMyBatis/src/AbstractDAOOperations.java | 2 +- java/MyMyBatis/src/AbstractMapper.java | 2 +- java/MyMyBatis/src/ModelMapper.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/java/MyMyBatis/src/AbstractDAOOperations.java b/java/MyMyBatis/src/AbstractDAOOperations.java index a96e336..cc183c9 100644 --- a/java/MyMyBatis/src/AbstractDAOOperations.java +++ b/java/MyMyBatis/src/AbstractDAOOperations.java @@ -4,7 +4,7 @@ import java.util.List; public abstract class AbstractDAOOperations, - TMapper extends AbstractMapper> extends AbstractDAO + TMapper extends AbstractMapper> extends AbstractDAO { public int insert(final TObject obj) diff --git a/java/MyMyBatis/src/AbstractMapper.java b/java/MyMyBatis/src/AbstractMapper.java index 54887b8..33bd567 100644 --- a/java/MyMyBatis/src/AbstractMapper.java +++ b/java/MyMyBatis/src/AbstractMapper.java @@ -2,7 +2,7 @@ package ch.asynk; import java.util.List; -public interface AbstractMapper +public interface AbstractMapper { int insert(TObject obj); diff --git a/java/MyMyBatis/src/ModelMapper.java b/java/MyMyBatis/src/ModelMapper.java index 77b1921..e71f851 100644 --- a/java/MyMyBatis/src/ModelMapper.java +++ b/java/MyMyBatis/src/ModelMapper.java @@ -7,7 +7,7 @@ import org.apache.ibatis.annotations.Delete; import org.apache.ibatis.annotations.Update; import org.apache.ibatis.annotations.Select; -public interface ModelMapper extends AbstractMapper +public interface ModelMapper extends AbstractMapper { final static String attrs = " id, name "; final static String from = " from models "; -- cgit v1.1-2-g2b99