Skip to content

Commit

Permalink
增加MIT注释,指定javadoc版本。
Browse files Browse the repository at this point in the history
  • Loading branch information
abel533 committed Jan 22, 2018
1 parent cadb49a commit 4f410bd
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 14 deletions.
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9</version>
<executions>
<execution>
<phase>package</phase>
Expand Down
39 changes: 25 additions & 14 deletions src/test/java/tk/mybatis/mapper/test/weekend/WeekendSqlsTest.java
Original file line number Diff line number Diff line change
@@ -1,17 +1,28 @@
package tk.mybatis.mapper.test.weekend;

/*
import org.apache.ibatis.session.SqlSession;
import org.junit.Assert;
import tk.mybatis.mapper.entity.Example;
import tk.mybatis.mapper.mapper.CountryMapper;
import tk.mybatis.mapper.mapper.MybatisHelper;
import tk.mybatis.mapper.model.Country;
import tk.mybatis.mapper.util.Sqls;
import tk.mybatis.mapper.weekend.WeekendSqls;
* The MIT License (MIT)
*
* Copyright (c) 2014-2017 abel533@gmail.com
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/

import java.util.List;
*/
package tk.mybatis.mapper.test.weekend;

/**
* 测试WeekendSql构建者模式类 由于方法引用需要jdk8
Expand All @@ -31,8 +42,8 @@
* @author XuYin
*/
public class WeekendSqlsTest {
//@Test
/*
@Test
public void testWeekend() {
SqlSession sqlSession = MybatisHelper.getSqlSession();
try {
Expand All @@ -48,7 +59,7 @@ public void testWeekend() {
}
}
//@Test
@Test
public void testWeekendComplex() {
SqlSession sqlSession = MybatisHelper.getSqlSession();
try {
Expand Down

0 comments on commit 4f410bd

Please sign in to comment.