japanese/canna-server: Refactor
Lint with portclippy. Regenerate patchfile.
PR: 288911 Approved by: osa (mentor)