update copyright notice generation settings for IntelliJ
This commit is contained in:
6 files changed
+28
-4
No files matched your search
@@ -2,6 +2,7 @@
|
||||
.idea/*
|
||||
# allow copyright notice
|
||||
!.idea/copyright/
|
||||
!.idea/scopes/
|
||||
|
||||
*.iml
|
||||
*.ipr
|
||||
|
||||
Generated
+2
-2
@@ -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>
|
||||
Generated
+3
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user