Skip to content

Commit

Permalink
Minor touch-up and added missing license headers
Browse files Browse the repository at this point in the history
  • Loading branch information
dkoszewnik committed Jan 31, 2017
1 parent 4242c17 commit 751ef9c
Show file tree
Hide file tree
Showing 5 changed files with 90 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +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.Map;

/**
* 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;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +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.Set;

/**
* 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;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +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;

/**
* Object model representing an indirect or nested circular reference:
*
* E depends on F, F depends on G, and G depends back on E
*/
@SuppressWarnings("unused")
public class IndirectCircularReference {

class TypeE {
Expand Down

0 comments on commit 751ef9c

Please sign in to comment.