execute method of CommandHandler is not abstract #64

Closed
opened 2026-04-09 18:35:52 +02:00 by lars.winzer · 5 comments
lars.winzer commented 2026-04-09 18:35:52 +02:00 (Migrated from git.scicore.unibas.ch)

Bug Report

Environment

Summary

The execute method of the abstract CommandHandler class is not abstract.

Expected Behavior

As a implementation of this method is required, it should be abstract. This also allows IDEs like VSCode to auto generate method stubs.

Actual Behavior

Not overriding the execute method is valid.

Steps to Reproduce

Not applicable.

Stack Trace / Error Message

Not applicable.

Possible Cause / Notes

Not applicable.

Checklist

  • I reproduced the problem using the steps above
  • I searched documentation for relevant information
  • I added relevant labels
## Bug Report <!--The reccommended type is: Issue--> ### Environment - **Branch & Commit:** main - c42dc09c0e056b04bb7de310bb465f51bd0c0a30 ### Summary The execute method of the abstract CommandHandler class is not abstract. ### Expected Behavior As a implementation of this method is required, it should be abstract. This also allows IDEs like VSCode to auto generate method stubs. ### Actual Behavior Not overriding the execute method is valid. ### Steps to Reproduce Not applicable. ### Stack Trace / Error Message ``` Not applicable. ``` ### Possible Cause / Notes Not applicable. ### Checklist - [x] I reproduced the problem using the steps above - [x] I searched documentation for relevant information - [x] I added relevant labels
lars.winzer commented 2026-04-09 19:13:34 +02:00 (Migrated from git.scicore.unibas.ch)

created branch fix/64-execute-method-of-commandhandler-is-not-abstract to address this issue

created branch [`fix/64-execute-method-of-commandhandler-is-not-abstract`](/cs108-fs26/Gruppe-13/-/compare/main...fix%2F64-execute-method-of-commandhandler-is-not-abstract) to address this issue
lars.winzer commented 2026-04-09 19:13:35 +02:00 (Migrated from git.scicore.unibas.ch)

assigned to @lars.winzer

assigned to @lars.winzer
lars.winzer commented 2026-04-09 19:15:05 +02:00 (Migrated from git.scicore.unibas.ch)

mentioned in merge request !91

mentioned in merge request !91
lars.winzer commented 2026-04-09 19:15:39 +02:00 (Migrated from git.scicore.unibas.ch)

added 2m of time spent at 2026-04-09 12:00:00 +0200

added 2m of time spent at 2026-04-09 12:00:00 +0200
lars.winzer commented 2026-04-09 19:17:29 +02:00 (Migrated from git.scicore.unibas.ch)

mentioned in commit 983d31c963

mentioned in commit 983d31c9637249e2d8597d6b3b85707582c6b978
lars.winzer (Migrated from git.scicore.unibas.ch) closed this issue 2026-04-09 19:17:29 +02:00
This repo is archived. You cannot comment on issues.
1 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: University-of-Basel-Studentprojects/Programmierprojekt#64