Skip to content

chore: remove empty placeholder files and unused classes - #33

Merged
yash-agarwa-l merged 1 commit into
Ergane-Foundation:mainfrom
yash-agarwa-l:fix-20
Oct 7, 2026
Merged

yash-agarwa-l merged 1 commit into
Ergane-Foundation:mainfrom
yash-agarwa-l:fix-20

Conversation

@yash-agarwa-l

@yash-agarwa-l yash-agarwa-l commented Oct 6, 2026 •

Copy link
Copy Markdown
Member

What this changes

Deletes files that were empty or never referenced:

  • flink-jobs/pom.xml and flink-jobs/src/main/java/com/greenops/jobs/WordCountJob.java (0 bytes)
  • docs/architecture.md (0 bytes)
  • operator/src/main/java/com/greenops/service/KubernetesService.java (unused)
  • operator/src/main/java/com/greenops/config/OperatorConfig.java (unused)

Why

Placeholder files confuse newcomers. The issue lets us either delete OperatorConfig or have GreenOpsReconciler use its constant. I deleted it: the reconciler already has its own RECONCILE_INTERVAL_SECONDS and nothing uses DEFAULT_CARBON_THRESHOLD, so the class was dead code and deleting it changes no behaviour.

Closes #19

How it was tested

  • mvn -f operator/pom.xml verify passes.
  • No docs mention flink-jobs or architecture.md.

Checklist

  • The pull request title follows Conventional Commits, for example fix(operator): ...
  • Tests are added or updated, and make test passes (no behaviour change, so no new tests)
  • If the suspend or resume path changed, tests show no job can lose its state (not changed)
  • Documentation is updated if behaviour or configuration changed (no change)

@yash-agarwa-l yash-agarwa-l changed the title fix(workcount): i made a fix chore: remove empty placeholder files and unused classes Oct 7, 2026
flink-jobs/pom.xml, flink-jobs/.../WordCountJob.java and
docs/architecture.md were all 0 bytes. KubernetesService and
OperatorConfig were never referenced.

OperatorConfig is deleted rather than wired into GreenOpsReconciler:
the reconciler already defines its own RECONCILE_INTERVAL_SECONDS and
DEFAULT_CARBON_THRESHOLD was unused, so the class was dead code.

Closes Ergane-Foundation#19
@yash-agarwa-l
yash-agarwa-l merged commit 5880402 into Ergane-Foundation:main Oct 7, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove empty placeholder files and unused classes

1 participant