ChatALL icon indicating copy to clipboard operation
ChatALL copied to clipboard

Refactor: Remove empty bot constructors that only call super()

Open PeterDaveHello opened this issue 7 months ago • 4 comments

Suggestion: Remove the empty constructor since it only calls the superclass constructor and adds unnecessary boilerplate. [general, importance: 5]

-  constructor() {
-    super();
-  }
+  // constructor omitted since default inherited constructor is sufficient

Originally posted by @PeterBot in https://github.com/ai-shifu/ChatALL/pull/1005#discussion_r2051138623

PeterDaveHello avatar Apr 18 '25 21:04 PeterDaveHello