update copyright notice generation settings for IntelliJ

This commit is contained in:
Piotr W. committed 2026-04-23 01:35:59 +01:00
1 parent 21840488af
commit 4ece4a83d8
6 files changed
+28 -4

No files matched your search

+1
View File
@@ -2,6 +2,7 @@
.idea/*
# allow copyright notice
!.idea/copyright/
!.idea/scopes/
*.iml
*.ipr
+2 -2
View File
@@ -1,7 +1,7 @@
<component name="CopyrightManager">
<settings default="Szlaban-LGPL-3.0-or-later">
<settings>
<module2copyright>
<element module="Production" copyright="Szlaban-LGPL-3.0-or-later" />
<element module="Source Code" copyright="Szlaban-LGPL-3.0-or-later" />
</module2copyright>
</settings>
</component>
+3
View File
@@ -0,0 +1,3 @@
<component name="DependencyValidationManager">
<scope name="Source Code" pattern="file[Szlaban.main]:java//*" />
</component>
@@ -1,3 +1,10 @@
/*
* Copyright (c) 2026 Piotr Weychan
* SPDX-License-Identifier: LGPL-3.0-or-later
*
* Additional terms under GPL-3.0 section 7 apply – see LICENCE.ADDITIONAL_TERMS.
*/
package dev.piotr_weychan.szlaban.command;
import com.mojang.brigadier.Command;
@@ -1,3 +1,10 @@
/*
* Copyright (c) 2026 Piotr Weychan
* SPDX-License-Identifier: LGPL-3.0-or-later
*
* Additional terms under GPL-3.0 section 7 apply – see LICENCE.ADDITIONAL_TERMS.
*/
package dev.piotr_weychan.szlaban.firewall.filter;
public class RuleEvaluationException extends RuntimeException {
@@ -1,8 +1,14 @@
/*
* Copyright (c) 2026 Piotr Weychan
* SPDX-License-Identifier: LGPL-3.0-or-later
*
* Additional terms under GPL-3.0 section 7 apply – see LICENCE.ADDITIONAL_TERMS.
*/
package dev.piotr_weychan.szlaban.firewall.filter;
import java.net.InetAddress;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
@@ -35,7 +41,7 @@ public final class RuleEvaluatorChain implements RuleEvaluator {
if (ruleType == RuleType.BLOCK) {
cache.put(address, ruleType);
return ruleType;
};
}
}
cache.put(address, RuleType.DEFAULT);