add missing licenses; add exclusion for *.iml to rat.sh file;
Project: http://git-wip-us.apache.org/repos/asf/cayenne/repo Commit: http://git-wip-us.apache.org/repos/asf/cayenne/commit/76846d92 Tree: http://git-wip-us.apache.org/repos/asf/cayenne/tree/76846d92 Diff: http://git-wip-us.apache.org/repos/asf/cayenne/diff/76846d92 Branch: refs/heads/master Commit: 76846d92d2b88714f264fe226cfbf57931053c0b Parents: 874a80d Author: Savva Kolbachev <s.kolbac...@gmail.com> Authored: Wed Feb 3 16:45:45 2016 +0300 Committer: Savva Kolbachev <s.kolbac...@gmail.com> Committed: Mon Feb 15 19:00:20 2016 +0300 ---------------------------------------------------------------------- .../resources/assemblies/assembly-generic.xml | 2 +- .../main/resources/assemblies/assembly-mac.xml | 2 +- .../resources/assemblies/assembly-windows.xml | 2 +- .../cayenne/java8/db/LocalDateTestEntity.java | 18 ++++++++++++++++++ .../cayenne/java8/db/LocalDateTimeTestEntity.java | 18 ++++++++++++++++++ .../cayenne/java8/db/LocalTimeTestEntity.java | 18 ++++++++++++++++++ .../cayenne/joda/db/DateTimeTestEntity.java | 18 ++++++++++++++++++ .../cayenne/joda/db/LocalDateTestEntity.java | 18 ++++++++++++++++++ .../cayenne/joda/db/LocalDateTimeTestEntity.java | 18 ++++++++++++++++++ .../cayenne/joda/db/LocalTimeTestEntity.java | 18 ++++++++++++++++++ .../lifecycle/postcommit/Confidential.java | 18 ++++++++++++++++++ .../org/apache/cayenne/lifecycle/db/AuditLog.java | 18 ++++++++++++++++++ .../apache/cayenne/lifecycle/db/Auditable3.java | 18 ++++++++++++++++++ .../apache/cayenne/lifecycle/db/Auditable4.java | 18 ++++++++++++++++++ .../java/org/apache/cayenne/lifecycle/db/E3.java | 18 ++++++++++++++++++ .../java/org/apache/cayenne/lifecycle/db/E4.java | 18 ++++++++++++++++++ .../cayenne/CayenneDataObjectSetToManySetIT.java | 12 ++++++------ rat.sh | 3 ++- 18 files changed, 245 insertions(+), 10 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cayenne/blob/76846d92/assembly/src/main/resources/assemblies/assembly-generic.xml ---------------------------------------------------------------------- diff --git a/assembly/src/main/resources/assemblies/assembly-generic.xml b/assembly/src/main/resources/assemblies/assembly-generic.xml index a030569..6339eec 100644 --- a/assembly/src/main/resources/assemblies/assembly-generic.xml +++ b/assembly/src/main/resources/assemblies/assembly-generic.xml @@ -78,7 +78,7 @@ <include>org.apache.cayenne:cayenne-di</include> <include>org.apache.cayenne:cayenne-joda</include> <include>org.apache.cayenne:cayenne-lifecycle</include> - <include>org.apache.cayenne:cayenne-project</include> + <include>org.apache.cayenne:cayenne-project</include> <include>org.apache.cayenne:cayenne-server</include> <include>org.apache.cayenne:cayenne-tools</include> <include>org.apache.cayenne:cayenne-dbcp2</include> http://git-wip-us.apache.org/repos/asf/cayenne/blob/76846d92/assembly/src/main/resources/assemblies/assembly-mac.xml ---------------------------------------------------------------------- diff --git a/assembly/src/main/resources/assemblies/assembly-mac.xml b/assembly/src/main/resources/assemblies/assembly-mac.xml index 6d7b2e5..556a352 100644 --- a/assembly/src/main/resources/assemblies/assembly-mac.xml +++ b/assembly/src/main/resources/assemblies/assembly-mac.xml @@ -78,7 +78,7 @@ <include>org.apache.cayenne:cayenne-di</include> <include>org.apache.cayenne:cayenne-joda</include> <include>org.apache.cayenne:cayenne-lifecycle</include> - <include>org.apache.cayenne:cayenne-project</include> + <include>org.apache.cayenne:cayenne-project</include> <include>org.apache.cayenne:cayenne-server</include> <include>org.apache.cayenne:cayenne-tools</include> <include>org.apache.cayenne:cayenne-dbcp2</include> http://git-wip-us.apache.org/repos/asf/cayenne/blob/76846d92/assembly/src/main/resources/assemblies/assembly-windows.xml ---------------------------------------------------------------------- diff --git a/assembly/src/main/resources/assemblies/assembly-windows.xml b/assembly/src/main/resources/assemblies/assembly-windows.xml index c89db0f..e64278b 100644 --- a/assembly/src/main/resources/assemblies/assembly-windows.xml +++ b/assembly/src/main/resources/assemblies/assembly-windows.xml @@ -78,7 +78,7 @@ <include>org.apache.cayenne:cayenne-di</include> <include>org.apache.cayenne:cayenne-joda</include> <include>org.apache.cayenne:cayenne-lifecycle</include> - <include>org.apache.cayenne:cayenne-project</include> + <include>org.apache.cayenne:cayenne-project</include> <include>org.apache.cayenne:cayenne-server</include> <include>org.apache.cayenne:cayenne-tools</include> <include>org.apache.cayenne:cayenne-dbcp2</include> http://git-wip-us.apache.org/repos/asf/cayenne/blob/76846d92/cayenne-java8/src/test/java/org/apache/cayenne/java8/db/LocalDateTestEntity.java ---------------------------------------------------------------------- diff --git a/cayenne-java8/src/test/java/org/apache/cayenne/java8/db/LocalDateTestEntity.java b/cayenne-java8/src/test/java/org/apache/cayenne/java8/db/LocalDateTestEntity.java index 0b29d55..5e2f865 100644 --- a/cayenne-java8/src/test/java/org/apache/cayenne/java8/db/LocalDateTestEntity.java +++ b/cayenne-java8/src/test/java/org/apache/cayenne/java8/db/LocalDateTestEntity.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 + * + * http://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.java8.db; import org.apache.cayenne.java8.db.auto._LocalDateTestEntity; http://git-wip-us.apache.org/repos/asf/cayenne/blob/76846d92/cayenne-java8/src/test/java/org/apache/cayenne/java8/db/LocalDateTimeTestEntity.java ---------------------------------------------------------------------- diff --git a/cayenne-java8/src/test/java/org/apache/cayenne/java8/db/LocalDateTimeTestEntity.java b/cayenne-java8/src/test/java/org/apache/cayenne/java8/db/LocalDateTimeTestEntity.java index a2fc644..ee25e2c 100644 --- a/cayenne-java8/src/test/java/org/apache/cayenne/java8/db/LocalDateTimeTestEntity.java +++ b/cayenne-java8/src/test/java/org/apache/cayenne/java8/db/LocalDateTimeTestEntity.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 + * + * http://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.java8.db; import org.apache.cayenne.java8.db.auto._LocalDateTimeTestEntity; http://git-wip-us.apache.org/repos/asf/cayenne/blob/76846d92/cayenne-java8/src/test/java/org/apache/cayenne/java8/db/LocalTimeTestEntity.java ---------------------------------------------------------------------- diff --git a/cayenne-java8/src/test/java/org/apache/cayenne/java8/db/LocalTimeTestEntity.java b/cayenne-java8/src/test/java/org/apache/cayenne/java8/db/LocalTimeTestEntity.java index 21c651e..79c37e1 100644 --- a/cayenne-java8/src/test/java/org/apache/cayenne/java8/db/LocalTimeTestEntity.java +++ b/cayenne-java8/src/test/java/org/apache/cayenne/java8/db/LocalTimeTestEntity.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 + * + * http://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.java8.db; import org.apache.cayenne.java8.db.auto._LocalTimeTestEntity; http://git-wip-us.apache.org/repos/asf/cayenne/blob/76846d92/cayenne-joda/src/test/java/org/apache/cayenne/joda/db/DateTimeTestEntity.java ---------------------------------------------------------------------- diff --git a/cayenne-joda/src/test/java/org/apache/cayenne/joda/db/DateTimeTestEntity.java b/cayenne-joda/src/test/java/org/apache/cayenne/joda/db/DateTimeTestEntity.java index 2fc52d0..b758cd1 100644 --- a/cayenne-joda/src/test/java/org/apache/cayenne/joda/db/DateTimeTestEntity.java +++ b/cayenne-joda/src/test/java/org/apache/cayenne/joda/db/DateTimeTestEntity.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 + * + * http://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.joda.db; import org.apache.cayenne.joda.db.auto._DateTimeTestEntity; http://git-wip-us.apache.org/repos/asf/cayenne/blob/76846d92/cayenne-joda/src/test/java/org/apache/cayenne/joda/db/LocalDateTestEntity.java ---------------------------------------------------------------------- diff --git a/cayenne-joda/src/test/java/org/apache/cayenne/joda/db/LocalDateTestEntity.java b/cayenne-joda/src/test/java/org/apache/cayenne/joda/db/LocalDateTestEntity.java index 9149e56..9953976 100644 --- a/cayenne-joda/src/test/java/org/apache/cayenne/joda/db/LocalDateTestEntity.java +++ b/cayenne-joda/src/test/java/org/apache/cayenne/joda/db/LocalDateTestEntity.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 + * + * http://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.joda.db; import org.apache.cayenne.joda.db.auto._LocalDateTestEntity; http://git-wip-us.apache.org/repos/asf/cayenne/blob/76846d92/cayenne-joda/src/test/java/org/apache/cayenne/joda/db/LocalDateTimeTestEntity.java ---------------------------------------------------------------------- diff --git a/cayenne-joda/src/test/java/org/apache/cayenne/joda/db/LocalDateTimeTestEntity.java b/cayenne-joda/src/test/java/org/apache/cayenne/joda/db/LocalDateTimeTestEntity.java index 794cb95..96d7421 100644 --- a/cayenne-joda/src/test/java/org/apache/cayenne/joda/db/LocalDateTimeTestEntity.java +++ b/cayenne-joda/src/test/java/org/apache/cayenne/joda/db/LocalDateTimeTestEntity.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 + * + * http://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.joda.db; import org.apache.cayenne.joda.db.auto._LocalDateTimeTestEntity; http://git-wip-us.apache.org/repos/asf/cayenne/blob/76846d92/cayenne-joda/src/test/java/org/apache/cayenne/joda/db/LocalTimeTestEntity.java ---------------------------------------------------------------------- diff --git a/cayenne-joda/src/test/java/org/apache/cayenne/joda/db/LocalTimeTestEntity.java b/cayenne-joda/src/test/java/org/apache/cayenne/joda/db/LocalTimeTestEntity.java index 46de23d..16eb3ae 100644 --- a/cayenne-joda/src/test/java/org/apache/cayenne/joda/db/LocalTimeTestEntity.java +++ b/cayenne-joda/src/test/java/org/apache/cayenne/joda/db/LocalTimeTestEntity.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 + * + * http://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.joda.db; import org.apache.cayenne.joda.db.auto._LocalTimeTestEntity; http://git-wip-us.apache.org/repos/asf/cayenne/blob/76846d92/cayenne-lifecycle/src/main/java/org/apache/cayenne/lifecycle/postcommit/Confidential.java ---------------------------------------------------------------------- diff --git a/cayenne-lifecycle/src/main/java/org/apache/cayenne/lifecycle/postcommit/Confidential.java b/cayenne-lifecycle/src/main/java/org/apache/cayenne/lifecycle/postcommit/Confidential.java index 1e02341..b13fb67 100644 --- a/cayenne-lifecycle/src/main/java/org/apache/cayenne/lifecycle/postcommit/Confidential.java +++ b/cayenne-lifecycle/src/main/java/org/apache/cayenne/lifecycle/postcommit/Confidential.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 + * + * http://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.lifecycle.postcommit; /** http://git-wip-us.apache.org/repos/asf/cayenne/blob/76846d92/cayenne-lifecycle/src/test/java/org/apache/cayenne/lifecycle/db/AuditLog.java ---------------------------------------------------------------------- diff --git a/cayenne-lifecycle/src/test/java/org/apache/cayenne/lifecycle/db/AuditLog.java b/cayenne-lifecycle/src/test/java/org/apache/cayenne/lifecycle/db/AuditLog.java index 64cab94..a9bf9b5 100644 --- a/cayenne-lifecycle/src/test/java/org/apache/cayenne/lifecycle/db/AuditLog.java +++ b/cayenne-lifecycle/src/test/java/org/apache/cayenne/lifecycle/db/AuditLog.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 + * + * http://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.lifecycle.db; import org.apache.cayenne.lifecycle.db.auto._AuditLog; http://git-wip-us.apache.org/repos/asf/cayenne/blob/76846d92/cayenne-lifecycle/src/test/java/org/apache/cayenne/lifecycle/db/Auditable3.java ---------------------------------------------------------------------- diff --git a/cayenne-lifecycle/src/test/java/org/apache/cayenne/lifecycle/db/Auditable3.java b/cayenne-lifecycle/src/test/java/org/apache/cayenne/lifecycle/db/Auditable3.java index 367cd00..c033020 100644 --- a/cayenne-lifecycle/src/test/java/org/apache/cayenne/lifecycle/db/Auditable3.java +++ b/cayenne-lifecycle/src/test/java/org/apache/cayenne/lifecycle/db/Auditable3.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 + * + * http://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.lifecycle.db; import org.apache.cayenne.lifecycle.audit.Auditable; http://git-wip-us.apache.org/repos/asf/cayenne/blob/76846d92/cayenne-lifecycle/src/test/java/org/apache/cayenne/lifecycle/db/Auditable4.java ---------------------------------------------------------------------- diff --git a/cayenne-lifecycle/src/test/java/org/apache/cayenne/lifecycle/db/Auditable4.java b/cayenne-lifecycle/src/test/java/org/apache/cayenne/lifecycle/db/Auditable4.java index b8d594c..05861e3 100644 --- a/cayenne-lifecycle/src/test/java/org/apache/cayenne/lifecycle/db/Auditable4.java +++ b/cayenne-lifecycle/src/test/java/org/apache/cayenne/lifecycle/db/Auditable4.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 + * + * http://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.lifecycle.db; import org.apache.cayenne.lifecycle.audit.Auditable; http://git-wip-us.apache.org/repos/asf/cayenne/blob/76846d92/cayenne-lifecycle/src/test/java/org/apache/cayenne/lifecycle/db/E3.java ---------------------------------------------------------------------- diff --git a/cayenne-lifecycle/src/test/java/org/apache/cayenne/lifecycle/db/E3.java b/cayenne-lifecycle/src/test/java/org/apache/cayenne/lifecycle/db/E3.java index 0efda10..b07346e 100644 --- a/cayenne-lifecycle/src/test/java/org/apache/cayenne/lifecycle/db/E3.java +++ b/cayenne-lifecycle/src/test/java/org/apache/cayenne/lifecycle/db/E3.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 + * + * http://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.lifecycle.db; import org.apache.cayenne.lifecycle.db.auto._E3; http://git-wip-us.apache.org/repos/asf/cayenne/blob/76846d92/cayenne-lifecycle/src/test/java/org/apache/cayenne/lifecycle/db/E4.java ---------------------------------------------------------------------- diff --git a/cayenne-lifecycle/src/test/java/org/apache/cayenne/lifecycle/db/E4.java b/cayenne-lifecycle/src/test/java/org/apache/cayenne/lifecycle/db/E4.java index b2b0bca..060862d 100644 --- a/cayenne-lifecycle/src/test/java/org/apache/cayenne/lifecycle/db/E4.java +++ b/cayenne-lifecycle/src/test/java/org/apache/cayenne/lifecycle/db/E4.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 + * + * http://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.lifecycle.db; import org.apache.cayenne.lifecycle.db.auto._E4; http://git-wip-us.apache.org/repos/asf/cayenne/blob/76846d92/cayenne-server/src/test/java/org/apache/cayenne/CayenneDataObjectSetToManySetIT.java ---------------------------------------------------------------------- diff --git a/cayenne-server/src/test/java/org/apache/cayenne/CayenneDataObjectSetToManySetIT.java b/cayenne-server/src/test/java/org/apache/cayenne/CayenneDataObjectSetToManySetIT.java index 45d6b5e..8fcf23b 100644 --- a/cayenne-server/src/test/java/org/apache/cayenne/CayenneDataObjectSetToManySetIT.java +++ b/cayenne-server/src/test/java/org/apache/cayenne/CayenneDataObjectSetToManySetIT.java @@ -19,12 +19,6 @@ package org.apache.cayenne; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertTrue; - -import java.util.ArrayList; -import java.util.Set; - import org.apache.cayenne.di.Inject; import org.apache.cayenne.test.jdbc.DBHelper; import org.apache.cayenne.test.jdbc.TableHelper; @@ -36,6 +30,12 @@ import org.apache.cayenne.unit.di.server.UseServerRuntime; import org.junit.Before; import org.junit.Test; +import java.util.ArrayList; +import java.util.Set; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertTrue; + @UseServerRuntime(CayenneProjects.RELATIONSHIPS_SET_TO_MANY_PROJECT) public class CayenneDataObjectSetToManySetIT extends ServerCase { http://git-wip-us.apache.org/repos/asf/cayenne/blob/76846d92/rat.sh ---------------------------------------------------------------------- diff --git a/rat.sh b/rat.sh index 1064c3f..057554a 100755 --- a/rat.sh +++ b/rat.sh @@ -64,6 +64,7 @@ java -jar $RAT -d $DIR \ -e '*.css' \ -e '*.jceks' \ -e 'plain.txt' \ - -e 'derby.log' + -e 'derby.log' \ + -e '*.iml'