From 79ce23678db42098f8ba0f36a32a58daf299e0c1 Mon Sep 17 00:00:00 2001 From: James Yuzawa Date: Fri, 21 Jul 2023 08:47:32 -0400 Subject: [PATCH] spdx headers --- build.gradle | 2 +- .../java/com/jyuzawa/googolplex_theater/GoogolplexTheater.java | 2 +- .../googolplex_theater/client/GoogolplexClientHandler.java | 2 +- .../jyuzawa/googolplex_theater/client/GoogolplexController.java | 2 +- .../googolplex_theater/client/GoogolplexControllerImpl.java | 2 +- .../com/jyuzawa/googolplex_theater/client/ReceiverResponse.java | 2 +- .../com/jyuzawa/googolplex_theater/config/DeviceConfig.java | 2 +- .../jyuzawa/googolplex_theater/config/DeviceConfigLoader.java | 2 +- .../googolplex_theater/config/GoogolplexTheaterConfig.java | 2 +- .../com/jyuzawa/googolplex_theater/mdns/ServiceDiscovery.java | 2 +- .../com/jyuzawa/googolplex_theater/server/GoogolplexServer.java | 2 +- .../java/com/jyuzawa/googolplex_theater/util/MapperUtil.java | 2 +- src/test/java/com/jyuzawa/googolplex_theater/RunCucumber.java | 2 +- .../java/com/jyuzawa/googolplex_theater/StepDefinitions.java | 2 +- .../java/com/jyuzawa/googolplex_theater/client/FakeCast.java | 2 +- .../googolplex_theater/client/GoogolplexControllerTest.java | 2 +- .../googolplex_theater/config/DeviceConfigLoaderTest.java | 2 +- .../googolplex_theater/config/GoogolplexTheaterConfigTest.java | 2 +- .../jyuzawa/googolplex_theater/mdns/ServiceDiscoveryTest.java | 2 +- .../jyuzawa/googolplex_theater/server/GoogolplexServerTest.java | 2 +- 20 files changed, 20 insertions(+), 20 deletions(-) diff --git a/build.gradle b/build.gradle index 25bcdf0f..b1279e5c 100644 --- a/build.gradle +++ b/build.gradle @@ -78,7 +78,7 @@ spotless { java { target '**/*.java' targetExclude "${protobuf.generatedFilesBaseDir}/**/*.java" - licenseHeader '/*\n * Copyright (c) $YEAR James Yuzawa (https://www.jyuzawa.com/)\n * All rights reserved. Licensed under the MIT License.\n */' + licenseHeader '/*\n * Copyright (c) $YEAR James Yuzawa (https://www.jyuzawa.com/)\n * SPDX-License-Identifier: MIT\n */' removeUnusedImports() importOrder() palantirJavaFormat() diff --git a/src/main/java/com/jyuzawa/googolplex_theater/GoogolplexTheater.java b/src/main/java/com/jyuzawa/googolplex_theater/GoogolplexTheater.java index dfcf941f..1db3be66 100644 --- a/src/main/java/com/jyuzawa/googolplex_theater/GoogolplexTheater.java +++ b/src/main/java/com/jyuzawa/googolplex_theater/GoogolplexTheater.java @@ -1,6 +1,6 @@ /* * Copyright (c) 2022 James Yuzawa (https://www.jyuzawa.com/) - * All rights reserved. Licensed under the MIT License. + * SPDX-License-Identifier: MIT */ package com.jyuzawa.googolplex_theater; diff --git a/src/main/java/com/jyuzawa/googolplex_theater/client/GoogolplexClientHandler.java b/src/main/java/com/jyuzawa/googolplex_theater/client/GoogolplexClientHandler.java index 5d818fa6..47bef220 100644 --- a/src/main/java/com/jyuzawa/googolplex_theater/client/GoogolplexClientHandler.java +++ b/src/main/java/com/jyuzawa/googolplex_theater/client/GoogolplexClientHandler.java @@ -1,6 +1,6 @@ /* * Copyright (c) 2022 James Yuzawa (https://www.jyuzawa.com/) - * All rights reserved. Licensed under the MIT License. + * SPDX-License-Identifier: MIT */ package com.jyuzawa.googolplex_theater.client; diff --git a/src/main/java/com/jyuzawa/googolplex_theater/client/GoogolplexController.java b/src/main/java/com/jyuzawa/googolplex_theater/client/GoogolplexController.java index 211a3021..502e9495 100644 --- a/src/main/java/com/jyuzawa/googolplex_theater/client/GoogolplexController.java +++ b/src/main/java/com/jyuzawa/googolplex_theater/client/GoogolplexController.java @@ -1,6 +1,6 @@ /* * Copyright (c) 2022 James Yuzawa (https://www.jyuzawa.com/) - * All rights reserved. Licensed under the MIT License. + * SPDX-License-Identifier: MIT */ package com.jyuzawa.googolplex_theater.client; diff --git a/src/main/java/com/jyuzawa/googolplex_theater/client/GoogolplexControllerImpl.java b/src/main/java/com/jyuzawa/googolplex_theater/client/GoogolplexControllerImpl.java index 8c6bf467..21407c3d 100644 --- a/src/main/java/com/jyuzawa/googolplex_theater/client/GoogolplexControllerImpl.java +++ b/src/main/java/com/jyuzawa/googolplex_theater/client/GoogolplexControllerImpl.java @@ -1,6 +1,6 @@ /* * Copyright (c) 2022 James Yuzawa (https://www.jyuzawa.com/) - * All rights reserved. Licensed under the MIT License. + * SPDX-License-Identifier: MIT */ package com.jyuzawa.googolplex_theater.client; diff --git a/src/main/java/com/jyuzawa/googolplex_theater/client/ReceiverResponse.java b/src/main/java/com/jyuzawa/googolplex_theater/client/ReceiverResponse.java index e377f1c0..1e1e9b5a 100644 --- a/src/main/java/com/jyuzawa/googolplex_theater/client/ReceiverResponse.java +++ b/src/main/java/com/jyuzawa/googolplex_theater/client/ReceiverResponse.java @@ -1,6 +1,6 @@ /* * Copyright (c) 2022 James Yuzawa (https://www.jyuzawa.com/) - * All rights reserved. Licensed under the MIT License. + * SPDX-License-Identifier: MIT */ package com.jyuzawa.googolplex_theater.client; diff --git a/src/main/java/com/jyuzawa/googolplex_theater/config/DeviceConfig.java b/src/main/java/com/jyuzawa/googolplex_theater/config/DeviceConfig.java index 8a9d4695..3fc642e2 100644 --- a/src/main/java/com/jyuzawa/googolplex_theater/config/DeviceConfig.java +++ b/src/main/java/com/jyuzawa/googolplex_theater/config/DeviceConfig.java @@ -1,6 +1,6 @@ /* * Copyright (c) 2022 James Yuzawa (https://www.jyuzawa.com/) - * All rights reserved. Licensed under the MIT License. + * SPDX-License-Identifier: MIT */ package com.jyuzawa.googolplex_theater.config; diff --git a/src/main/java/com/jyuzawa/googolplex_theater/config/DeviceConfigLoader.java b/src/main/java/com/jyuzawa/googolplex_theater/config/DeviceConfigLoader.java index c06da13e..51c20cf0 100644 --- a/src/main/java/com/jyuzawa/googolplex_theater/config/DeviceConfigLoader.java +++ b/src/main/java/com/jyuzawa/googolplex_theater/config/DeviceConfigLoader.java @@ -1,6 +1,6 @@ /* * Copyright (c) 2022 James Yuzawa (https://www.jyuzawa.com/) - * All rights reserved. Licensed under the MIT License. + * SPDX-License-Identifier: MIT */ package com.jyuzawa.googolplex_theater.config; diff --git a/src/main/java/com/jyuzawa/googolplex_theater/config/GoogolplexTheaterConfig.java b/src/main/java/com/jyuzawa/googolplex_theater/config/GoogolplexTheaterConfig.java index 8e277090..0b0884ed 100644 --- a/src/main/java/com/jyuzawa/googolplex_theater/config/GoogolplexTheaterConfig.java +++ b/src/main/java/com/jyuzawa/googolplex_theater/config/GoogolplexTheaterConfig.java @@ -1,6 +1,6 @@ /* * Copyright (c) 2022 James Yuzawa (https://www.jyuzawa.com/) - * All rights reserved. Licensed under the MIT License. + * SPDX-License-Identifier: MIT */ package com.jyuzawa.googolplex_theater.config; diff --git a/src/main/java/com/jyuzawa/googolplex_theater/mdns/ServiceDiscovery.java b/src/main/java/com/jyuzawa/googolplex_theater/mdns/ServiceDiscovery.java index 5c50ff30..26827f89 100644 --- a/src/main/java/com/jyuzawa/googolplex_theater/mdns/ServiceDiscovery.java +++ b/src/main/java/com/jyuzawa/googolplex_theater/mdns/ServiceDiscovery.java @@ -1,6 +1,6 @@ /* * Copyright (c) 2022 James Yuzawa (https://www.jyuzawa.com/) - * All rights reserved. Licensed under the MIT License. + * SPDX-License-Identifier: MIT */ package com.jyuzawa.googolplex_theater.mdns; diff --git a/src/main/java/com/jyuzawa/googolplex_theater/server/GoogolplexServer.java b/src/main/java/com/jyuzawa/googolplex_theater/server/GoogolplexServer.java index c0af6676..177be6ac 100644 --- a/src/main/java/com/jyuzawa/googolplex_theater/server/GoogolplexServer.java +++ b/src/main/java/com/jyuzawa/googolplex_theater/server/GoogolplexServer.java @@ -1,6 +1,6 @@ /* * Copyright (c) 2022 James Yuzawa (https://www.jyuzawa.com/) - * All rights reserved. Licensed under the MIT License. + * SPDX-License-Identifier: MIT */ package com.jyuzawa.googolplex_theater.server; diff --git a/src/main/java/com/jyuzawa/googolplex_theater/util/MapperUtil.java b/src/main/java/com/jyuzawa/googolplex_theater/util/MapperUtil.java index e668b90c..c23a5f4c 100644 --- a/src/main/java/com/jyuzawa/googolplex_theater/util/MapperUtil.java +++ b/src/main/java/com/jyuzawa/googolplex_theater/util/MapperUtil.java @@ -1,6 +1,6 @@ /* * Copyright (c) 2022 James Yuzawa (https://www.jyuzawa.com/) - * All rights reserved. Licensed under the MIT License. + * SPDX-License-Identifier: MIT */ package com.jyuzawa.googolplex_theater.util; diff --git a/src/test/java/com/jyuzawa/googolplex_theater/RunCucumber.java b/src/test/java/com/jyuzawa/googolplex_theater/RunCucumber.java index bf3401f1..c0fb52b1 100644 --- a/src/test/java/com/jyuzawa/googolplex_theater/RunCucumber.java +++ b/src/test/java/com/jyuzawa/googolplex_theater/RunCucumber.java @@ -1,6 +1,6 @@ /* * Copyright (c) 2022 James Yuzawa (https://www.jyuzawa.com/) - * All rights reserved. Licensed under the MIT License. + * SPDX-License-Identifier: MIT */ package com.jyuzawa.googolplex_theater; diff --git a/src/test/java/com/jyuzawa/googolplex_theater/StepDefinitions.java b/src/test/java/com/jyuzawa/googolplex_theater/StepDefinitions.java index 9ccb17d0..7fe29aca 100644 --- a/src/test/java/com/jyuzawa/googolplex_theater/StepDefinitions.java +++ b/src/test/java/com/jyuzawa/googolplex_theater/StepDefinitions.java @@ -1,6 +1,6 @@ /* * Copyright (c) 2022 James Yuzawa (https://www.jyuzawa.com/) - * All rights reserved. Licensed under the MIT License. + * SPDX-License-Identifier: MIT */ package com.jyuzawa.googolplex_theater; diff --git a/src/test/java/com/jyuzawa/googolplex_theater/client/FakeCast.java b/src/test/java/com/jyuzawa/googolplex_theater/client/FakeCast.java index c2f96857..d7959212 100644 --- a/src/test/java/com/jyuzawa/googolplex_theater/client/FakeCast.java +++ b/src/test/java/com/jyuzawa/googolplex_theater/client/FakeCast.java @@ -1,6 +1,6 @@ /* * Copyright (c) 2022 James Yuzawa (https://www.jyuzawa.com/) - * All rights reserved. Licensed under the MIT License. + * SPDX-License-Identifier: MIT */ package com.jyuzawa.googolplex_theater.client; diff --git a/src/test/java/com/jyuzawa/googolplex_theater/client/GoogolplexControllerTest.java b/src/test/java/com/jyuzawa/googolplex_theater/client/GoogolplexControllerTest.java index da9fc560..3be74a86 100644 --- a/src/test/java/com/jyuzawa/googolplex_theater/client/GoogolplexControllerTest.java +++ b/src/test/java/com/jyuzawa/googolplex_theater/client/GoogolplexControllerTest.java @@ -1,6 +1,6 @@ /* * Copyright (c) 2022 James Yuzawa (https://www.jyuzawa.com/) - * All rights reserved. Licensed under the MIT License. + * SPDX-License-Identifier: MIT */ package com.jyuzawa.googolplex_theater.client; diff --git a/src/test/java/com/jyuzawa/googolplex_theater/config/DeviceConfigLoaderTest.java b/src/test/java/com/jyuzawa/googolplex_theater/config/DeviceConfigLoaderTest.java index f09f8216..dbb4da30 100644 --- a/src/test/java/com/jyuzawa/googolplex_theater/config/DeviceConfigLoaderTest.java +++ b/src/test/java/com/jyuzawa/googolplex_theater/config/DeviceConfigLoaderTest.java @@ -1,6 +1,6 @@ /* * Copyright (c) 2022 James Yuzawa (https://www.jyuzawa.com/) - * All rights reserved. Licensed under the MIT License. + * SPDX-License-Identifier: MIT */ package com.jyuzawa.googolplex_theater.config; diff --git a/src/test/java/com/jyuzawa/googolplex_theater/config/GoogolplexTheaterConfigTest.java b/src/test/java/com/jyuzawa/googolplex_theater/config/GoogolplexTheaterConfigTest.java index 0958f93d..c1005dce 100644 --- a/src/test/java/com/jyuzawa/googolplex_theater/config/GoogolplexTheaterConfigTest.java +++ b/src/test/java/com/jyuzawa/googolplex_theater/config/GoogolplexTheaterConfigTest.java @@ -1,6 +1,6 @@ /* * Copyright (c) 2022 James Yuzawa (https://www.jyuzawa.com/) - * All rights reserved. Licensed under the MIT License. + * SPDX-License-Identifier: MIT */ package com.jyuzawa.googolplex_theater.config; diff --git a/src/test/java/com/jyuzawa/googolplex_theater/mdns/ServiceDiscoveryTest.java b/src/test/java/com/jyuzawa/googolplex_theater/mdns/ServiceDiscoveryTest.java index 5ccd7889..24d556b6 100644 --- a/src/test/java/com/jyuzawa/googolplex_theater/mdns/ServiceDiscoveryTest.java +++ b/src/test/java/com/jyuzawa/googolplex_theater/mdns/ServiceDiscoveryTest.java @@ -1,6 +1,6 @@ /* * Copyright (c) 2022 James Yuzawa (https://www.jyuzawa.com/) - * All rights reserved. Licensed under the MIT License. + * SPDX-License-Identifier: MIT */ package com.jyuzawa.googolplex_theater.mdns; diff --git a/src/test/java/com/jyuzawa/googolplex_theater/server/GoogolplexServerTest.java b/src/test/java/com/jyuzawa/googolplex_theater/server/GoogolplexServerTest.java index 27dbebcb..c5198f51 100644 --- a/src/test/java/com/jyuzawa/googolplex_theater/server/GoogolplexServerTest.java +++ b/src/test/java/com/jyuzawa/googolplex_theater/server/GoogolplexServerTest.java @@ -1,6 +1,6 @@ /* * Copyright (c) 2022 James Yuzawa (https://www.jyuzawa.com/) - * All rights reserved. Licensed under the MIT License. + * SPDX-License-Identifier: MIT */ package com.jyuzawa.googolplex_theater.server;