diff --git a/hollow/src/test/java/com/netflix/hollow/core/write/objectmapper/DirectCircularReference.java b/hollow/src/test/java/com/netflix/hollow/core/write/objectmapper/DirectCircularReference.java index 32032bf1c7..42488b128c 100644 --- a/hollow/src/test/java/com/netflix/hollow/core/write/objectmapper/DirectCircularReference.java +++ b/hollow/src/test/java/com/netflix/hollow/core/write/objectmapper/DirectCircularReference.java @@ -1,9 +1,27 @@ +/* + * + * Copyright 2017 Netflix, Inc. + * + * Licensed 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 com.netflix.hollow.core.write.objectmapper; /** * Sample type that represents a direct circular reference between 2 classes. */ +@SuppressWarnings("unused") public class DirectCircularReference { private final String name; diff --git a/hollow/src/test/java/com/netflix/hollow/core/write/objectmapper/DirectListCircularReference.java b/hollow/src/test/java/com/netflix/hollow/core/write/objectmapper/DirectListCircularReference.java index a47b49e73f..3e617fef8a 100644 --- a/hollow/src/test/java/com/netflix/hollow/core/write/objectmapper/DirectListCircularReference.java +++ b/hollow/src/test/java/com/netflix/hollow/core/write/objectmapper/DirectListCircularReference.java @@ -1,11 +1,28 @@ +/* + * + * Copyright 2017 Netflix, Inc. + * + * Licensed 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 com.netflix.hollow.core.write.objectmapper; -import java.util.Collections; import java.util.List; /** * Sample type that represents a direct circular reference between 2 classes, with a List containing the child. */ +@SuppressWarnings("unused") public class DirectListCircularReference { private final String name; diff --git a/hollow/src/test/java/com/netflix/hollow/core/write/objectmapper/DirectMapCircularReference.java b/hollow/src/test/java/com/netflix/hollow/core/write/objectmapper/DirectMapCircularReference.java index 4111be23c7..b715bf33de 100644 --- a/hollow/src/test/java/com/netflix/hollow/core/write/objectmapper/DirectMapCircularReference.java +++ b/hollow/src/test/java/com/netflix/hollow/core/write/objectmapper/DirectMapCircularReference.java @@ -1,3 +1,20 @@ +/* + * + * Copyright 2017 Netflix, Inc. + * + * Licensed 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 com.netflix.hollow.core.write.objectmapper; import java.util.Map; @@ -5,6 +22,7 @@ /** * Sample type that represents a direct circular reference between 2 classes, with a Map containing the child. */ +@SuppressWarnings("unused") public class DirectMapCircularReference { private final String name; diff --git a/hollow/src/test/java/com/netflix/hollow/core/write/objectmapper/DirectSetCircularReference.java b/hollow/src/test/java/com/netflix/hollow/core/write/objectmapper/DirectSetCircularReference.java index c6821e022c..e7d6898a8e 100644 --- a/hollow/src/test/java/com/netflix/hollow/core/write/objectmapper/DirectSetCircularReference.java +++ b/hollow/src/test/java/com/netflix/hollow/core/write/objectmapper/DirectSetCircularReference.java @@ -1,3 +1,20 @@ +/* + * + * Copyright 2017 Netflix, Inc. + * + * Licensed 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 com.netflix.hollow.core.write.objectmapper; import java.util.Set; @@ -5,6 +22,7 @@ /** * Sample type that represents a direct circular reference between 2 classes, with a Set containing the child. */ +@SuppressWarnings("unused") public class DirectSetCircularReference { private final String name; diff --git a/hollow/src/test/java/com/netflix/hollow/core/write/objectmapper/IndirectCircularReference.java b/hollow/src/test/java/com/netflix/hollow/core/write/objectmapper/IndirectCircularReference.java index 1608c7aa41..474fc5d290 100644 --- a/hollow/src/test/java/com/netflix/hollow/core/write/objectmapper/IndirectCircularReference.java +++ b/hollow/src/test/java/com/netflix/hollow/core/write/objectmapper/IndirectCircularReference.java @@ -1,3 +1,20 @@ +/* + * + * Copyright 2017 Netflix, Inc. + * + * Licensed 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 com.netflix.hollow.core.write.objectmapper; /** @@ -5,6 +22,7 @@ * * E depends on F, F depends on G, and G depends back on E */ +@SuppressWarnings("unused") public class IndirectCircularReference { class TypeE {