This repository was archived by the owner on Oct 13, 2020. It is now read-only.
File tree Expand file tree Collapse file tree
src/main/java/io/ebean/typequery Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -80,31 +80,35 @@ public R fetchAll() {
8080 /**
8181 * Eagerly fetch this association fetching some of the properties.
8282 */
83- protected R fetchProperties (TQProperty <?>... props ) {
83+ @ SafeVarargs
84+ protected final R fetchProperties (TQProperty <?>... props ) {
8485 ((TQRootBean ) _root ).query ().fetch (_name , properties (props ));
8586 return _root ;
8687 }
8788
8889 /**
8990 * Eagerly fetch query this association fetching some of the properties.
9091 */
91- protected R fetchQueryProperties (TQProperty <?>... props ) {
92+ @ SafeVarargs
93+ protected final R fetchQueryProperties (TQProperty <?>... props ) {
9294 ((TQRootBean ) _root ).query ().fetchQuery (_name , properties (props ));
9395 return _root ;
9496 }
9597
9698 /**
9799 * Eagerly fetch query this association fetching some of the properties.
98100 */
99- protected R fetchLazyProperties (TQProperty <?>... props ) {
101+ @ SafeVarargs
102+ protected final R fetchLazyProperties (TQProperty <?>... props ) {
100103 ((TQRootBean ) _root ).query ().fetchLazy (_name , properties (props ));
101104 return _root ;
102105 }
103106
104107 /**
105108 * Append the properties as a comma delimited string.
106109 */
107- protected String properties (TQProperty <?>... props ) {
110+ @ SafeVarargs
111+ protected final String properties (TQProperty <?>... props ) {
108112 StringBuilder selectProps = new StringBuilder (50 );
109113 for (int i = 0 ; i < props .length ; i ++) {
110114 if (i > 0 ) {
You can’t perform that action at this time.
0 commit comments