add license headers

This commit is contained in:
dfsek
2021-11-19 15:42:26 -07:00
parent c52d8b3804
commit 5d3afcc82c
374 changed files with 4389 additions and 77 deletions

View File

@@ -1,3 +1,10 @@
/*
* Copyright (c) 2020-2021 Polyhedral Development
*
* The Terra API is licensed under the terms of the MIT License. For more details,
* reference the LICENSE file in the common/api directory.
*/
package com.dfsek.terra.api.registry;
import com.dfsek.terra.api.registry.exception.DuplicateEntryException;

View File

@@ -1,3 +1,10 @@
/*
* Copyright (c) 2020-2021 Polyhedral Development
*
* The Terra API is licensed under the terms of the MIT License. For more details,
* reference the LICENSE file in the common/api directory.
*/
package com.dfsek.terra.api.registry;
import com.dfsek.terra.api.registry.exception.DuplicateEntryException;

View File

@@ -1,3 +1,10 @@
/*
* Copyright (c) 2020-2021 Polyhedral Development
*
* The Terra API is licensed under the terms of the MIT License. For more details,
* reference the LICENSE file in the common/api directory.
*/
package com.dfsek.terra.api.registry;
import com.dfsek.tectonic.loading.TypeLoader;

View File

@@ -1,9 +1,20 @@
/*
* Copyright (c) 2020-2021 Polyhedral Development
*
* The Terra API is licensed under the terms of the MIT License. For more details,
* reference the LICENSE file in the common/api directory.
*/
package com.dfsek.terra.api.registry.exception;
import java.io.Serial;
/**
* Thrown when a duplicate entry is found in a registry.
*/
public class DuplicateEntryException extends RuntimeException {
@Serial
private static final long serialVersionUID = -7199021672428288780L;
public DuplicateEntryException(String message) {

View File

@@ -1,3 +1,10 @@
/*
* Copyright (c) 2020-2021 Polyhedral Development
*
* The Terra API is licensed under the terms of the MIT License. For more details,
* reference the LICENSE file in the common/api directory.
*/
package com.dfsek.terra.api.registry.meta;
import com.dfsek.tectonic.loading.TypeLoader;

View File

@@ -1,3 +1,10 @@
/*
* Copyright (c) 2020-2021 Polyhedral Development
*
* The Terra API is licensed under the terms of the MIT License. For more details,
* reference the LICENSE file in the common/api directory.
*/
package com.dfsek.terra.api.registry.meta;
import java.lang.reflect.Type;