mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-03 11:12:23 +00:00
local variable infere changes (#1038)
local variable infere changes for STATE design pattern
This commit is contained in:
1 parent
0b8d78e4bf
commit
12f13a631e
1 file changed
+1
-1
@@ -41,7 +41,7 @@ public class App {
|
||||
*/
|
||||
public static void main(String[] args) {
|
||||
|
||||
Mammoth mammoth = new Mammoth();
|
||||
var mammoth = new Mammoth();
|
||||
mammoth.observe();
|
||||
mammoth.timePasses();
|
||||
mammoth.observe();
|
||||
|
||||
Reference in new issue
Block a user