refactor: remove redundant samples() method

samples() duplicates N(), both setting the same field.
Keeping only N() simplifies the builder API and aligns with ImageOptions.

Signed-off-by: Jhzlo <kjh0010703@naver.com>
This commit is contained in:
Jhzlo
2025-05-16 01:55:26 +09:00
committed by Soby Chacko
parent 2721c9e676
commit 8a5f68d655

View File

@@ -485,11 +485,6 @@ public class StabilityAiImageOptions implements ImageOptions {
return this;
}
public Builder samples(Integer samples) {
this.options.setN(samples);
return this;
}
public Builder stylePreset(String stylePreset) {
this.options.setStylePreset(stylePreset);
return this;