Skip to content

Commit da6dca2

Browse files
committed
Updated license headers and javadoc comments.
1 parent 1b53559 commit da6dca2

13 files changed

+26
-29
lines changed

src/main/java/org/apache/ibatis/type/InstantTypeHandler.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2016 the original author or authors.
2+
* Copyright 2009-2017 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -25,6 +25,7 @@
2525
import org.apache.ibatis.lang.UsesJava8;
2626

2727
/**
28+
* @since 3.4.5
2829
* @author Tomas Rohovsky
2930
*/
3031
@UsesJava8

src/main/java/org/apache/ibatis/type/JapaneseDateTypeHandler.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2016 the original author or authors.
2+
* Copyright 2009-2017 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -28,7 +28,7 @@
2828
/**
2929
* Type Handler for {@link JapaneseDate}.
3030
*
31-
* @since 1.0.2
31+
* @since 3.4.5
3232
* @author Kazuki Shimizu
3333
*/
3434
@UsesJava8

src/main/java/org/apache/ibatis/type/Java8TypeHandlersRegistrar.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,22 +30,22 @@
3030

3131
import org.apache.ibatis.lang.UsesJava8;
3232

33+
/**
34+
* @since 3.4.5
35+
*/
3336
@UsesJava8
3437
public abstract class Java8TypeHandlersRegistrar {
3538

3639
public static void registerDateAndTimeHandlers(TypeHandlerRegistry registry) {
37-
// since 1.0.0
3840
registry.register(Instant.class, InstantTypeHandler.class);
3941
registry.register(LocalDateTime.class, LocalDateTimeTypeHandler.class);
4042
registry.register(LocalDate.class, LocalDateTypeHandler.class);
4143
registry.register(LocalTime.class, LocalTimeTypeHandler.class);
4244
registry.register(OffsetDateTime.class, OffsetDateTimeTypeHandler.class);
4345
registry.register(OffsetTime.class, OffsetTimeTypeHandler.class);
4446
registry.register(ZonedDateTime.class, ZonedDateTimeTypeHandler.class);
45-
// since 1.0.1
4647
registry.register(Month.class, MonthTypeHandler.class);
4748
registry.register(Year.class, YearTypeHandler.class);
48-
// since 1.0.2
4949
registry.register(YearMonth.class, YearMonthTypeHandler.class);
5050
registry.register(JapaneseDate.class, JapaneseDateTypeHandler.class);
5151
}

src/main/java/org/apache/ibatis/type/LocalDateTimeTypeHandler.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2016 the original author or authors.
2+
* Copyright 2009-2017 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -25,6 +25,7 @@
2525
import org.apache.ibatis.lang.UsesJava8;
2626

2727
/**
28+
* @since 3.4.5
2829
* @author Tomas Rohovsky
2930
*/
3031
@UsesJava8

src/main/java/org/apache/ibatis/type/LocalDateTypeHandler.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2016 the original author or authors.
2+
* Copyright 2009-2017 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -25,6 +25,7 @@
2525
import org.apache.ibatis.lang.UsesJava8;
2626

2727
/**
28+
* @since 3.4.5
2829
* @author Tomas Rohovsky
2930
*/
3031
@UsesJava8

src/main/java/org/apache/ibatis/type/LocalTimeTypeHandler.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2016 the original author or authors.
2+
* Copyright 2009-2017 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -25,6 +25,7 @@
2525
import org.apache.ibatis.lang.UsesJava8;
2626

2727
/**
28+
* @since 3.4.5
2829
* @author Tomas Rohovsky
2930
*/
3031
@UsesJava8

src/main/java/org/apache/ibatis/type/MonthTypeHandler.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2016 the original author or authors.
2+
* Copyright 2009-2017 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -25,7 +25,7 @@
2525

2626
/**
2727
*
28-
* @since 1.0.1
28+
* @since 3.4.5
2929
* @author Björn Raupach
3030
*/
3131
@UsesJava8

src/main/java/org/apache/ibatis/type/OffsetDateTimeTypeHandler.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2016 the original author or authors.
2+
* Copyright 2009-2017 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -26,6 +26,7 @@
2626
import org.apache.ibatis.lang.UsesJava8;
2727

2828
/**
29+
* @since 3.4.5
2930
* @author Tomas Rohovsky
3031
*/
3132
@UsesJava8

src/main/java/org/apache/ibatis/type/OffsetTimeTypeHandler.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2016 the original author or authors.
2+
* Copyright 2009-2017 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -25,6 +25,7 @@
2525
import org.apache.ibatis.lang.UsesJava8;
2626

2727
/**
28+
* @since 3.4.5
2829
* @author Tomas Rohovsky
2930
*/
3031
@UsesJava8

src/main/java/org/apache/ibatis/type/YearMonthTypeHandler.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2016 the original author or authors.
2+
* Copyright 2009-2017 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -30,7 +30,7 @@
3030
* {@link java.time.YearMonth#parse YearMonth.parse}. Therefore column values
3131
* are expected as strings. The format must be uuuu-MM. Example: "2016-08"
3232
*
33-
* @since 1.0.2
33+
* @since 3.4.5
3434
* @author Björn Raupach
3535
*/
3636
@UsesJava8

0 commit comments

Comments
 (0)