Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modified caching settings and skipped processing of annotation and in…
- Loading branch information
Michail Plushnikov
committed
Feb 1, 2016
1 parent
feecd4f
commit a243f5e
Showing
7 changed files
with
92 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
test-manual/src/main/java/de/plushnikov/bug/issue180/AddressBase.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
package de.plushnikov.bug.issue180; | ||
|
||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
import lombok.Setter; | ||
|
||
@NoArgsConstructor | ||
@Getter | ||
@Setter | ||
public abstract class AddressBase { | ||
|
||
private String addressLine1; | ||
|
||
private String addressLine2; | ||
|
||
private String addressLine3; | ||
|
||
private String city; | ||
|
||
private String postalCode; | ||
|
||
public AddressBase(String addressLine1, String addressLine2, String addressLine3, String city, String postalCode) { | ||
this.addressLine1 = addressLine1; | ||
this.addressLine2 = addressLine2; | ||
this.addressLine3 = addressLine3; | ||
this.city = city; | ||
this.postalCode = postalCode; | ||
} | ||
|
||
public abstract String getCountryCode(); | ||
|
||
public abstract void setCountryCode(String countryCode); | ||
} |
23 changes: 23 additions & 0 deletions
23
test-manual/src/main/java/de/plushnikov/bug/issue180/AddressImpl.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package de.plushnikov.bug.issue180; | ||
|
||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
import lombok.Setter; | ||
import lombok.experimental.Builder; | ||
|
||
@NoArgsConstructor | ||
@Getter | ||
@Setter | ||
public class AddressImpl extends AddressBase { | ||
|
||
private String countryCode; | ||
|
||
@Builder | ||
public AddressImpl(String addressLine1, String addressLine2, String addressLine3, String city, | ||
String postalCode, String countryCode) { | ||
super(addressLine1, addressLine2, addressLine3, city, postalCode); | ||
|
||
this.countryCode = countryCode; | ||
} | ||
|
||
} |
13 changes: 13 additions & 0 deletions
13
test-manual/src/main/java/de/plushnikov/bug/issue180/AddressMain.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package de.plushnikov.bug.issue180; | ||
|
||
public class AddressMain { | ||
public static void main(String[] args) { | ||
final AddressImpl address = AddressImpl.builder() | ||
.addressLine1("") | ||
.addressLine2("") | ||
.addressLine3("") | ||
.countryCode("") | ||
.build(); | ||
System.out.println(address); | ||
} | ||
} |