From f02b6f2ac2af0e7625ad8acc02ad18f3fc4e8bb8 Mon Sep 17 00:00:00 2001 From: jycr Date: Wed, 12 Apr 2023 05:10:35 +0200 Subject: [PATCH] green-code-initiative/ecoCode#167 refactor(rule/java): fix(rule): removes "bug" tag on rules when not appropriate --- ecocode-rule-specification/src/main/rules/EC1/EC1.json | 3 +-- ecocode-rule-specification/src/main/rules/EC2/EC2.json | 3 +-- ecocode-rule-specification/src/main/rules/EC27/EC27.json | 3 +-- ecocode-rule-specification/src/main/rules/EC28/EC28.json | 1 - ecocode-rule-specification/src/main/rules/EC3/EC3.json | 3 +-- ecocode-rule-specification/src/main/rules/EC32/EC32.json | 3 +-- ecocode-rule-specification/src/main/rules/EC4/EC4.json | 3 +-- ecocode-rule-specification/src/main/rules/EC5/EC5.json | 3 +-- ecocode-rule-specification/src/main/rules/EC53/EC53.json | 1 - ecocode-rule-specification/src/main/rules/EC63/EC63.json | 3 +-- ecocode-rule-specification/src/main/rules/EC67/EC67.json | 1 - ecocode-rule-specification/src/main/rules/EC69/EC69.json | 3 +-- ecocode-rule-specification/src/main/rules/EC72/EC72.json | 1 - ecocode-rule-specification/src/main/rules/EC74/EC74.json | 3 +-- ecocode-rule-specification/src/main/rules/EC75/EC75.json | 1 - ecocode-rule-specification/src/main/rules/EC76/EC76.json | 3 +-- ecocode-rule-specification/src/main/rules/EC77/EC77.json | 1 - ecocode-rule-specification/src/main/rules/EC78/EC78.json | 3 +-- 18 files changed, 12 insertions(+), 30 deletions(-) diff --git a/ecocode-rule-specification/src/main/rules/EC1/EC1.json b/ecocode-rule-specification/src/main/rules/EC1/EC1.json index d8da6723c..3a10fa005 100644 --- a/ecocode-rule-specification/src/main/rules/EC1/EC1.json +++ b/ecocode-rule-specification/src/main/rules/EC1/EC1.json @@ -9,8 +9,7 @@ "tags": [ "eco-design", "performance", - "bug", "ecocode" ], "defaultSeverity": "Minor" -} \ No newline at end of file +} diff --git a/ecocode-rule-specification/src/main/rules/EC2/EC2.json b/ecocode-rule-specification/src/main/rules/EC2/EC2.json index c4f0f80ab..d48945c08 100644 --- a/ecocode-rule-specification/src/main/rules/EC2/EC2.json +++ b/ecocode-rule-specification/src/main/rules/EC2/EC2.json @@ -9,8 +9,7 @@ "tags": [ "eco-design", "performance", - "bug", "ecocode" ], "defaultSeverity": "Minor" -} \ No newline at end of file +} diff --git a/ecocode-rule-specification/src/main/rules/EC27/EC27.json b/ecocode-rule-specification/src/main/rules/EC27/EC27.json index 13530377d..1d8661b9c 100644 --- a/ecocode-rule-specification/src/main/rules/EC27/EC27.json +++ b/ecocode-rule-specification/src/main/rules/EC27/EC27.json @@ -9,8 +9,7 @@ "tags": [ "eco-design", "performance", - "bug", "ecocode" ], "defaultSeverity": "Minor" -} \ No newline at end of file +} diff --git a/ecocode-rule-specification/src/main/rules/EC28/EC28.json b/ecocode-rule-specification/src/main/rules/EC28/EC28.json index 80cf37817..12ba5ed3e 100644 --- a/ecocode-rule-specification/src/main/rules/EC28/EC28.json +++ b/ecocode-rule-specification/src/main/rules/EC28/EC28.json @@ -8,7 +8,6 @@ }, "tags": [ "eco-design", - "bug", "ecocode" ], "defaultSeverity": "Minor" diff --git a/ecocode-rule-specification/src/main/rules/EC3/EC3.json b/ecocode-rule-specification/src/main/rules/EC3/EC3.json index a8b365948..f511c1c2a 100644 --- a/ecocode-rule-specification/src/main/rules/EC3/EC3.json +++ b/ecocode-rule-specification/src/main/rules/EC3/EC3.json @@ -9,8 +9,7 @@ "tags": [ "eco-design", "performance", - "bug", "ecocode" ], "defaultSeverity": "Minor" -} \ No newline at end of file +} diff --git a/ecocode-rule-specification/src/main/rules/EC32/EC32.json b/ecocode-rule-specification/src/main/rules/EC32/EC32.json index 9a76c4c9e..c4c5c5c26 100644 --- a/ecocode-rule-specification/src/main/rules/EC32/EC32.json +++ b/ecocode-rule-specification/src/main/rules/EC32/EC32.json @@ -9,8 +9,7 @@ "tags": [ "eco-design", "performance", - "bug", "ecocode" ], "defaultSeverity": "Minor" -} \ No newline at end of file +} diff --git a/ecocode-rule-specification/src/main/rules/EC4/EC4.json b/ecocode-rule-specification/src/main/rules/EC4/EC4.json index 292eca846..aa88bc0d8 100644 --- a/ecocode-rule-specification/src/main/rules/EC4/EC4.json +++ b/ecocode-rule-specification/src/main/rules/EC4/EC4.json @@ -9,8 +9,7 @@ "tags": [ "eco-design", "performance", - "bug", "ecocode" ], "defaultSeverity": "Minor" -} \ No newline at end of file +} diff --git a/ecocode-rule-specification/src/main/rules/EC5/EC5.json b/ecocode-rule-specification/src/main/rules/EC5/EC5.json index 1095573a9..6b251eaee 100644 --- a/ecocode-rule-specification/src/main/rules/EC5/EC5.json +++ b/ecocode-rule-specification/src/main/rules/EC5/EC5.json @@ -9,8 +9,7 @@ "tags": [ "eco-design", "performance", - "bug", "ecocode" ], "defaultSeverity": "Minor" -} \ No newline at end of file +} diff --git a/ecocode-rule-specification/src/main/rules/EC53/EC53.json b/ecocode-rule-specification/src/main/rules/EC53/EC53.json index f6411338f..7be2bda8d 100644 --- a/ecocode-rule-specification/src/main/rules/EC53/EC53.json +++ b/ecocode-rule-specification/src/main/rules/EC53/EC53.json @@ -9,7 +9,6 @@ "tags": [ "eco-design", "performance", - "bug", "ecocode" ], "defaultSeverity": "Minor" diff --git a/ecocode-rule-specification/src/main/rules/EC63/EC63.json b/ecocode-rule-specification/src/main/rules/EC63/EC63.json index b09e15020..1e1fc1500 100644 --- a/ecocode-rule-specification/src/main/rules/EC63/EC63.json +++ b/ecocode-rule-specification/src/main/rules/EC63/EC63.json @@ -9,8 +9,7 @@ "tags": [ "eco-design", "memory", - "bug", "ecocode" ], "defaultSeverity": "Minor" -} \ No newline at end of file +} diff --git a/ecocode-rule-specification/src/main/rules/EC67/EC67.json b/ecocode-rule-specification/src/main/rules/EC67/EC67.json index a13d7e7cd..ba1c81a67 100644 --- a/ecocode-rule-specification/src/main/rules/EC67/EC67.json +++ b/ecocode-rule-specification/src/main/rules/EC67/EC67.json @@ -9,7 +9,6 @@ "tags": [ "eco-design", "performance", - "bug", "ecocode" ], "defaultSeverity": "Minor" diff --git a/ecocode-rule-specification/src/main/rules/EC69/EC69.json b/ecocode-rule-specification/src/main/rules/EC69/EC69.json index f00a9b99b..1efa0e8c1 100644 --- a/ecocode-rule-specification/src/main/rules/EC69/EC69.json +++ b/ecocode-rule-specification/src/main/rules/EC69/EC69.json @@ -9,8 +9,7 @@ "tags": [ "eco-design", "performance", - "bug", "ecocode" ], "defaultSeverity": "Minor" -} \ No newline at end of file +} diff --git a/ecocode-rule-specification/src/main/rules/EC72/EC72.json b/ecocode-rule-specification/src/main/rules/EC72/EC72.json index 3cbb604ed..8ad9e4e8a 100644 --- a/ecocode-rule-specification/src/main/rules/EC72/EC72.json +++ b/ecocode-rule-specification/src/main/rules/EC72/EC72.json @@ -12,7 +12,6 @@ "memory", "network", "sql", - "bug", "ecocode" ], "defaultSeverity": "Minor" diff --git a/ecocode-rule-specification/src/main/rules/EC74/EC74.json b/ecocode-rule-specification/src/main/rules/EC74/EC74.json index 64ba5a125..7a4eea182 100644 --- a/ecocode-rule-specification/src/main/rules/EC74/EC74.json +++ b/ecocode-rule-specification/src/main/rules/EC74/EC74.json @@ -11,8 +11,7 @@ "performance", "network", "sql", - "bug", "ecocode" ], "defaultSeverity": "Minor" -} \ No newline at end of file +} diff --git a/ecocode-rule-specification/src/main/rules/EC75/EC75.json b/ecocode-rule-specification/src/main/rules/EC75/EC75.json index 1f4c21348..92ee091f7 100644 --- a/ecocode-rule-specification/src/main/rules/EC75/EC75.json +++ b/ecocode-rule-specification/src/main/rules/EC75/EC75.json @@ -10,7 +10,6 @@ "eco-design", "performance", "memory", - "bug", "ecocode" ], "defaultSeverity": "Minor" diff --git a/ecocode-rule-specification/src/main/rules/EC76/EC76.json b/ecocode-rule-specification/src/main/rules/EC76/EC76.json index 246fb1b85..362ae3029 100644 --- a/ecocode-rule-specification/src/main/rules/EC76/EC76.json +++ b/ecocode-rule-specification/src/main/rules/EC76/EC76.json @@ -9,8 +9,7 @@ "tags": [ "eco-design", "memory", - "bug", "ecocode" ], "defaultSeverity": "Minor" -} \ No newline at end of file +} diff --git a/ecocode-rule-specification/src/main/rules/EC77/EC77.json b/ecocode-rule-specification/src/main/rules/EC77/EC77.json index fa21f3110..54a9d14be 100644 --- a/ecocode-rule-specification/src/main/rules/EC77/EC77.json +++ b/ecocode-rule-specification/src/main/rules/EC77/EC77.json @@ -10,7 +10,6 @@ "eco-design", "performance", "memory", - "bug", "ecocode" ], "defaultSeverity": "Minor" diff --git a/ecocode-rule-specification/src/main/rules/EC78/EC78.json b/ecocode-rule-specification/src/main/rules/EC78/EC78.json index eb97c43c2..de4456fda 100644 --- a/ecocode-rule-specification/src/main/rules/EC78/EC78.json +++ b/ecocode-rule-specification/src/main/rules/EC78/EC78.json @@ -11,8 +11,7 @@ "performance", "memory", "sql", - "bug", "ecocode" ], "defaultSeverity": "Minor" -} \ No newline at end of file +}