This is an automated email from the ASF dual-hosted git repository.
ntimofeev pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cayenne.git
The following commit(s) were added to refs/heads/master by this push:
new 8d16ea8 add license header
8d16ea8 is described below
commit 8d16ea8c9744f3f2c85d10c156915922ffafc90e
Author: Nikita Timofeev <[email protected]>
AuthorDate: Thu Mar 11 16:42:54 2021 +0300
add license header
---
.../apache/cayenne/dbsync/merge/CheckTypeTest.java | 23 ++++++++++++++++++++--
.../access/sqlbuilder/BaseSqlBuilderTest.java | 18 +++++++++++++++++
2 files changed, 39 insertions(+), 2 deletions(-)
diff --git
a/cayenne-dbsync/src/test/java/org/apache/cayenne/dbsync/merge/CheckTypeTest.java
b/cayenne-dbsync/src/test/java/org/apache/cayenne/dbsync/merge/CheckTypeTest.java
index eabbb6c..87a3cfc 100644
---
a/cayenne-dbsync/src/test/java/org/apache/cayenne/dbsync/merge/CheckTypeTest.java
+++
b/cayenne-dbsync/src/test/java/org/apache/cayenne/dbsync/merge/CheckTypeTest.java
@@ -1,3 +1,22 @@
+/*****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ ****************************************************************/
+
package org.apache.cayenne.dbsync.merge;
import org.apache.cayenne.dbsync.merge.factory.MergerTokenFactory;
@@ -39,7 +58,7 @@ public class CheckTypeTest {
imported.setEntity(dbEntity);
mergerTokenFactory = new MySQLMergerTokenFactory();
- diffPair = new MergerDiffPair(original, imported);
+ diffPair = new MergerDiffPair<>(original, imported);
dbAttributeMerger = new DbAttributeMerger(mergerTokenFactory, null);
}
@@ -152,7 +171,7 @@ public class CheckTypeTest {
@Test
public void testCheckTypeWithoutChanges() {
- diffPair = new MergerDiffPair(original, imported);
+ diffPair = new MergerDiffPair<>(original, imported);
dbAttributeMerger = new DbAttributeMerger(mergerTokenFactory, null);
Collection<MergerToken> mergerTokens =
dbAttributeMerger.createTokensForSame(diffPair);
diff --git
a/cayenne-server/src/test/java/org/apache/cayenne/access/sqlbuilder/BaseSqlBuilderTest.java
b/cayenne-server/src/test/java/org/apache/cayenne/access/sqlbuilder/BaseSqlBuilderTest.java
index 07b18a4..0df1e50 100644
---
a/cayenne-server/src/test/java/org/apache/cayenne/access/sqlbuilder/BaseSqlBuilderTest.java
+++
b/cayenne-server/src/test/java/org/apache/cayenne/access/sqlbuilder/BaseSqlBuilderTest.java
@@ -1,3 +1,21 @@
+/*****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ ****************************************************************/
package org.apache.cayenne.access.sqlbuilder;
import org.apache.cayenne.access.sqlbuilder.sqltree.Node;