mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 10:18:46 +00:00
[website] Whoops we had 2 copies of usage_examples. Fixed that by deleting the one that was NOT being used for the website.
This commit is contained in:
1 parent
4dce9a351d
commit
57fb2b9773
54 files changed
+21
-1453
No files matched your search
@@ -9,7 +9,9 @@ import javax.validation.constraints.Max;
|
||||
|
||||
@AllArgsConstructor(onConstructor=@__(@Inject))
|
||||
public class OnXExample {
|
||||
@Getter(onMethod=@__({@Id, @Column(name="unique-id")}))
|
||||
@Setter(onParam=@__(@Max(10000)))
|
||||
// @Getter(onMethod=@__({@Id, @Column(name="unique-id")})) //JDK7
|
||||
// @Setter(onParam=@__(@Max(10000))) //JDK7
|
||||
@Getter(onMethod_={@Id, @Column(name="unique-id")}) //JDK8
|
||||
@Setter(onParam_=@Max(10000)) //JDK8
|
||||
private long unid;
|
||||
}
|
||||
Reference in new issue
Block a user