Skip to content

Add missing @Override annotations to Runnable implementations #9

@LSantha

Description

@LSantha

Description

Several classes in the codebase implement the Runnable interface but are missing @Override annotations on their run() methods.

Affected Files (10 total)

  • gui/src/awt/org/jnode/awt/StartAwt.java
  • gui/src/thinlet/thinlet/Thinlet.java
  • gui/src/desktop/org/jnode/desktop/Desktop.java
  • gui/src/desktop/org/jnode/desktop/classic/Desktop.java
  • gui/src/desktop/org/jnode/desktop/classic/TaskBar.java (inner class ChangeScreenResolution)
  • distr/src/apps/fi/iki/elonen/NanoHTTPD.java (inner class HTTPSession)
  • distr/src/install/org/jnode/install/Main.java
  • core/src/core/org/jnode/vm/VmProcess.java (inner class)
  • core/src/core/org/jnode/vm/isolate/VmIsolate.java (inner class TaskExecutor)
  • core/src/test/org/jnode/test/threads/MultiTest.java (inner class Incrementer)
  • core/src/test/org/jnode/test/threads/ThreadingUtils.java

Task

Add @Override annotation before the run() method in each class/inner class that implements Runnable.

Example Fix

// Before:
public void run() {

// After:
@Override
public void run() {

Verification

Run sh build.sh assemble to verify compilation before committing.

Difficulty

Easy - Pure annotation addition with no logic changes. The Java compiler will verify correctness.

Notes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions