Skip to content

♻️ rename abstract classifier - #369

Merged
ianardee merged 1 commit into
mainfrom
classifier
Dec 3, 2026
Merged

ianardee merged 1 commit into
mainfrom
classifier

Conversation

@ianardee

@ianardee ianardee commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator

Description

Types of changes

  • Docs change / refactoring / dependency upgrade
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Requires a change to the official Guide documentation.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Renaming the public class without retaining BaseClassificationProductParameters breaks source and binary compatibility for consumers that import or extend it, or use it as the shared type for classification, crop, and split parameters.

1 open issue
What changed in this PR

Renames the shared base class for classification-based product parameters.

Changes:

  • Renames BaseClassificationProductParameters to BaseClassifierProductParameters.
  • Updates classification, crop, and split parameters and their builders.
  • Clarifies C#-to-Java method naming guidance.
File Description
src/​main/​java/​com/​mindee/​v2/​product/​split/​params/​SplitParameters.java Uses the renamed base class and builder.
src/​main/​java/​com/​mindee/​v2/​product/​crop/​params/​CropParameters.java Uses the renamed base class and builder.
src/​main/​java/​com/​mindee/​v2/​product/​classification/​params/​ClassificationParameters.java Uses the renamed base class and builder.
src/​main/​java/​com/​mindee/​v2/​clientoptions/​BaseClassifierProductParameters.java Renames the base class and constructor.
AGENTS.md Adds a C# method-name conversion example.

Review effort: Balanced

@Getter
@EqualsAndHashCode(callSuper = true)
public abstract class BaseClassificationProductParameters extends BaseProductParameters {
public abstract class BaseClassifierProductParameters extends BaseProductParameters {
@ianardee
ianardee merged commit 92ced88 into main Dec 3, 2026
15 checks passed
@ianardee
ianardee deleted the classifier branch December 3, 2026 14:53
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.

2 participants