Skip to content

Commit c0a2ae0

Browse files
authored
Merge pull request #3474 from hazendaz/master
[ci] Formatting
2 parents ca7eba2 + e875070 commit c0a2ae0

File tree

19 files changed

+52
-52
lines changed

19 files changed

+52
-52
lines changed

.mvn/settings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
33
4-
Copyright 2009-2024 the original author or authors.
4+
Copyright 2009-2025 the original author or authors.
55
66
Licensed under the Apache License, Version 2.0 (the "License");
77
you may not use this file except in compliance with the License.

src/site/ja/xdoc/dynamic-sql.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
33
4-
Copyright 2009-2022 the original author or authors.
4+
Copyright 2009-2025 the original author or authors.
55
66
Licensed under the Apache License, Version 2.0 (the "License");
77
you may not use this file except in compliance with the License.

src/test/resources/org/apache/ibatis/databases/blog/blog-derby-dataload.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--
2-
-- Copyright 2009-2022 the original author or authors.
2+
-- Copyright 2009-2025 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.
@@ -49,7 +49,7 @@ INSERT INTO comment (id,post_id,name,comment) VALUES (3,3,'rider','I prefer moto
4949
-- 4 5 6 7
5050

5151
INSERT INTO node (id, parent_id) VALUES (1,null);
52-
INSERT INTO node (id, parent_id) VALUES (2,1);
52+
INSERT INTO node (id, parent_id) VALUES (2,1);
5353
INSERT INTO node (id, parent_id) VALUES (3,1);
5454
INSERT INTO node (id, parent_id) VALUES (4,2);
5555
INSERT INTO node (id, parent_id) VALUES (5,2);

src/test/resources/org/apache/ibatis/submitted/annotion_many_one_add_columnprefix/CreateDB.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--
2-
-- Copyright 2009-2022 the original author or authors.
2+
-- Copyright 2009-2025 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.
@@ -15,7 +15,7 @@
1515
--
1616

1717
-- ----------------------------
18-
-- Table structure for role
18+
-- Table structure for role
1919
-- ----------------------------
2020
CREATE TABLE role (
2121
id int,

src/test/resources/org/apache/ibatis/submitted/annotion_many_one_add_resultmapid/CreateDB.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--
2-
-- Copyright 2009-2022 the original author or authors.
2+
-- Copyright 2009-2025 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.
@@ -15,7 +15,7 @@
1515
--
1616

1717
-- ----------------------------
18-
-- Table structure for role
18+
-- Table structure for role
1919
-- ----------------------------
2020
CREATE TABLE role (
2121
id int,

src/test/resources/org/apache/ibatis/submitted/blocking_cache/CreateDB.sql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--
2-
-- Copyright 2009-2022 the original author or authors.
2+
-- Copyright 2009-2025 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.
@@ -22,5 +22,5 @@ create table person(
2222
lastname varchar(20)
2323
);
2424

25-
insert into person(id, firstname, lastname) values (1, 'Jane', 'Doe');
26-
insert into person(id, firstname, lastname) values (2, 'John', 'Smith');
25+
insert into person(id, firstname, lastname) values (1, 'Jane', 'Doe');
26+
insert into person(id, firstname, lastname) values (2, 'John', 'Smith');

src/test/resources/org/apache/ibatis/submitted/cache/CreateDB.sql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--
2-
-- Copyright 2009-2022 the original author or authors.
2+
-- Copyright 2009-2025 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.
@@ -22,5 +22,5 @@ create table person(
2222
lastname varchar(20)
2323
);
2424

25-
insert into person(id, firstname, lastname) values (1, 'Jane', 'Doe');
26-
insert into person(id, firstname, lastname) values (2, 'John', 'Smith');
25+
insert into person(id, firstname, lastname) values (1, 'Jane', 'Doe');
26+
insert into person(id, firstname, lastname) values (2, 'John', 'Smith');

src/test/resources/org/apache/ibatis/submitted/complex_type/CreateDB.sql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--
2-
-- Copyright 2009-2022 the original author or authors.
2+
-- Copyright 2009-2025 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.
@@ -17,7 +17,7 @@
1717
drop table properties if exists;
1818

1919
create table properties (
20-
item_id int,
21-
property_id int,
20+
item_id int,
21+
property_id int,
2222
value varchar(20)
2323
);

src/test/resources/org/apache/ibatis/submitted/custom_collection_handling/CreateDB.sql

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--
2-
-- Copyright 2009-2022 the original author or authors.
2+
-- Copyright 2009-2025 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.
@@ -17,7 +17,7 @@
1717
drop table if exists contact;
1818
drop table if exists person;
1919
create table person (
20-
id int,
20+
id int,
2121
name varchar(32),
2222
primary key (id)
2323
);
@@ -26,9 +26,9 @@ insert into person (id, name) values (1, 'John');
2626
insert into person (id, name) values (2, 'Rebecca');
2727

2828
create table contact (
29-
id int,
30-
address varchar(100),
31-
phone varchar(32),
29+
id int,
30+
address varchar(100),
31+
phone varchar(32),
3232
person_id int,
3333
foreign key (person_id) references person(id)
3434
);

src/test/resources/org/apache/ibatis/submitted/mapper_type_parameter/CreateDB.sql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--
2-
-- Copyright 2009-2022 the original author or authors.
2+
-- Copyright 2009-2025 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.
@@ -27,5 +27,5 @@ create table country(
2727
name varchar(20)
2828
);
2929

30-
insert into person (id, name) values (1, 'Jane'), (2, 'John');
31-
insert into country (id, name) values (1, 'Japan'), (2, 'New Zealand');
30+
insert into person (id, name) values (1, 'Jane'), (2, 'John');
31+
insert into country (id, name) values (1, 'Japan'), (2, 'New Zealand');

src/test/resources/org/apache/ibatis/submitted/multipleresultsetswithassociation/CreateDB2.sql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--
2-
-- Copyright 2009-2022 the original author or authors.
2+
-- Copyright 2009-2025 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.
@@ -22,11 +22,11 @@
2222
DECLARE result1 CURSOR FOR
2323
SELECT * FROM order_detail
2424
FOR READ ONLY ;
25-
25+
2626
DECLARE result2 CURSOR FOR
2727
SELECT * FROM order_header
2828
FOR READ ONLY ;
29-
29+
3030
OPEN result1 ;
3131
OPEN result2 ;
3232
END;

src/test/resources/org/apache/ibatis/submitted/multipleresultsetswithassociation/CreateDB3.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--
2-
-- Copyright 2009-2022 the original author or authors.
2+
-- Copyright 2009-2025 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.
@@ -19,7 +19,7 @@
1919
INSERT INTO order_header(order_id, cust_name)
2020
VALUES (2, 'Barney');
2121
INSERT INTO order_header(order_id, cust_name)
22-
VALUES (3, 'Homer');
22+
VALUES (3, 'Homer');
2323

2424
INSERT INTO order_detail(order_id, line_number, quantity, item_description)
2525
VALUES (1, 1, 1, 'Pen');

src/test/resources/org/apache/ibatis/submitted/nestedresulthandler/CreateDB.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--
2-
-- Copyright 2009-2022 the original author or authors.
2+
-- Copyright 2009-2025 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.
@@ -27,7 +27,7 @@ create table items (
2727
owner int,
2828
name varchar(20)
2929
);
30-
30+
3131
insert into persons (id, name) values (1, 'grandma');
3232
insert into persons (id, name) values (2, 'sister');
3333
insert into persons (id, name) values (3, 'brother');

src/test/resources/org/apache/ibatis/submitted/nestedresulthandler_multiple_association/CreateDB.sql

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--
2-
-- Copyright 2009-2023 the original author or authors.
2+
-- Copyright 2009-2025 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.
@@ -17,18 +17,18 @@
1717
DROP TABLE parent if exists;
1818
DROP TABLE child if exists;
1919
create table parent(
20-
id integer,
20+
id integer,
2121
value varchar(20)
2222
);
2323

2424
create table child(
25-
id integer,
25+
id integer,
2626
value varchar(20)
2727
);
2828

2929
create table parent_child(
30-
idparent integer,
31-
idchild_from integer,
30+
idparent integer,
31+
idchild_from integer,
3232
idchild_to integer
3333
);
3434

src/test/resources/org/apache/ibatis/submitted/postgres_genkeys/CreateDB.sql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--
2-
-- Copyright 2009-2022 the original author or authors.
2+
-- Copyright 2009-2025 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.
@@ -23,7 +23,7 @@ CREATE TABLE mbtest.users (
2323
name character varying(30)
2424
);
2525

26-
INSERT INTO mbtest.users (name) values
26+
INSERT INTO mbtest.users (name) values
2727
('Jimmy');
2828

2929

@@ -32,5 +32,5 @@ CREATE TABLE mbtest.sections (
3232
name character varying(30)
3333
);
3434

35-
INSERT INTO mbtest.sections (section_id, name) values
35+
INSERT INTO mbtest.sections (section_id, name) values
3636
(1, 'Section 1');

src/test/resources/org/apache/ibatis/submitted/record_type/CreateDB.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--
2-
-- Copyright 2009-2022 the original author or authors.
2+
-- Copyright 2009-2025 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.
@@ -17,7 +17,7 @@
1717
drop table prop if exists;
1818

1919
create table prop (
20-
id int,
20+
id int,
2121
val varchar(20),
2222
url varchar(32)
2323
);

src/test/resources/org/apache/ibatis/submitted/rounding/CreateDB.sql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--
2-
-- Copyright 2009-2022 the original author or authors.
2+
-- Copyright 2009-2025 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.
@@ -24,7 +24,7 @@ create table users (
2424
roundingMode int
2525
);
2626

27-
insert into users (id, name, funkyNumber, roundingMode)
27+
insert into users (id, name, funkyNumber, roundingMode)
2828
values(1, 'User1', 123456789.9876543212345678987654321, 0);
2929

3030

@@ -35,6 +35,6 @@ create table users2 (
3535
roundingMode varchar(12)
3636
);
3737

38-
insert into users2 (id, name, funkyNumber, roundingMode)
38+
insert into users2 (id, name, funkyNumber, roundingMode)
3939
values(1, 'User1', 123456789.9876543212345678987654321, 'UP');
4040

src/test/resources/org/apache/ibatis/submitted/serializecircular/CreateDB.sql

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--
2-
-- Copyright 2009-2022 the original author or authors.
2+
-- Copyright 2009-2025 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.
@@ -17,18 +17,18 @@
1717
drop table if exists person;
1818
create table person (id int, nr_department int);
1919

20-
insert into person (id, nr_department)
20+
insert into person (id, nr_department)
2121
values (1, 1);
2222

2323
drop table if exists productattribute;
2424
create table productattribute (nr_id int);
2525

26-
insert into productattribute(nr_id)
26+
insert into productattribute(nr_id)
2727
values (1);
2828

2929
drop table if exists department;
3030
create table department (nr_id int,nr_attribute int,person int);
3131

32-
insert into department(nr_id,nr_attribute,person)
32+
insert into department(nr_id,nr_attribute,person)
3333
values (1,1,1);
3434

src/test/resources/org/apache/ibatis/submitted/sptests/CreateDB.sql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--
2-
-- Copyright 2009-2022 the original author or authors.
2+
-- Copyright 2009-2025 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.
@@ -40,7 +40,7 @@ go
4040

4141
create procedure sptest.adder(in addend1 integer, in addend2 integer, out theSum integer)
4242
begin atomic
43-
set theSum = addend1 + addend2;
43+
set theSum = addend1 + addend2;
4444
end
4545
go
4646

@@ -145,7 +145,7 @@ go
145145

146146
create procedure sptest.echoDate(in inputDate date, out outputDate date)
147147
begin atomic
148-
set outputDate = inputDate;
148+
set outputDate = inputDate;
149149
end
150150
go
151151

0 commit comments

Comments
 (0)