Skip to content

Commit 38952d7

Browse files
committed
minor corrections
1 parent ee5d5f6 commit 38952d7

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
### Added
1111

1212
- [#88](https://github.com/green-code-initiative/creedengo-java/pull/88) Add new Java rule GCI94 - Use orElseGet instead of orElse
13-
- [#88](https://github.com/green-code-initiative/creedengo-java/pull/88) Add new Java rule GCI82 - Make non reassigned variables constants
13+
- [#89](https://github.com/green-code-initiative/creedengo-java/pull/89) Add new Java rule GCI82 - Make non reassigned variables constants
1414

1515
### Changed
1616

src/main/resources/org/greencodeinitiative/creedengo/java/creedengo_way_profile.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"GCI77",
1818
"GCI78",
1919
"GCI79",
20-
"GCI82",
20+
"GCI82",
2121
"GCI94"
2222
]
2323
}

src/test/files/MakeNonReassignedVariablesConstants.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import java.util.logging.Logger;
22

3-
public class GCI82MakeNonReassignedVariablesConstants {
3+
public class MakeNonReassignedVariablesConstants {
44

55
private final Logger logger = Logger.getLogger(""); // Compliant
66

@@ -14,7 +14,7 @@ public class GCI82MakeNonReassignedVariablesConstants {
1414
private String varDefinedInClassReassigned = "0"; // Compliant
1515
private String varDefinedInConstructorReassigned = "1"; // Compliant
1616

17-
public GCI82MakeNonReassignedVariablesConstants() {
17+
public MakeNonReassignedVariablesConstants() {
1818
varDefinedInConstructorReassigned = "3";
1919
logger.info(varDefinedInConstructorReassigned);
2020
}

0 commit comments

Comments
 (0)