Skip to content

Commit b971cb5

Browse files
brunoborgesCopilot
andcommitted
Rename patterns: Loop variable inference, Diamond with anonymous classes
- 'Enhanced for with var' → 'Loop variable inference' to differentiate from type-inference-with-var - 'Diamond operator' → 'Diamond with anonymous classes' to clarify it's the Java 9 enhancement Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 87c1140 commit b971cb5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

content/language/diamond-operator.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": 12,
33
"slug": "diamond-operator",
4-
"title": "Diamond operator",
4+
"title": "Diamond with anonymous classes",
55
"category": "language",
66
"difficulty": "beginner",
77
"jdkVersion": "9",

content/language/enhanced-for-with-var.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": 11,
33
"slug": "enhanced-for-with-var",
4-
"title": "Enhanced for with var",
4+
"title": "Loop variable inference",
55
"category": "language",
66
"difficulty": "beginner",
77
"jdkVersion": "10",

0 commit comments

Comments
 (0)