Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
*
* @see org.javahelpers.simple.builders.core.annotations.IgnoreInBuilder
*/
@SimpleBuilder
// @SimpleBuilder - needs to be reactivated after having #132 checked
public class FieldConflictExample {
private String firstName;
private java.util.Optional<String> lastName;
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
import javax.tools.JavaFileObject;
import org.javahelpers.simple.builders.processor.testing.ProcessorAsserts;
import org.javahelpers.simple.builders.processor.testing.ProcessorTestUtils;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;

/** Tests for the {@link BuilderProcessor} class. */
Expand Down Expand Up @@ -2681,6 +2682,7 @@ public class InnerClass {
}

@Test
@Disabled("Missing feature: #131")
void shouldHandleOverloadedSettersForSameFieldWithoutConflicts() {
// Given
String packageName = "test";
Expand All @@ -2695,7 +2697,7 @@ void shouldHandleOverloadedSettersForSameFieldWithoutConflicts() {
private java.util.List<String> names;

public java.util.List<String> getNames() { return names; }
public void setNames(java.util.List<String> names) { this.names = names; }
public void setNames(String[] names) { this.names = names; }
public void setNames(String... names) { this.names = java.util.List.of(names); }
""");

Expand Down
Loading