@@ -93,12 +93,12 @@ Iterable<Repo> iterate(
9393 @ SuppressWarnings ("PMD.TooManyMethods" )
9494 @ ToString
9595 @ Loggable (Loggable .DEBUG )
96- @ EqualsAndHashCode (of = {"nam " , "priv" , "descr" , "home" , "init" })
96+ @ EqualsAndHashCode (of = {"repo " , "priv" , "descr" , "home" , "init" })
9797 final class RepoCreate implements JsonReadable {
9898 /**
9999 * Name of the new repo.
100100 */
101- private final transient String nam ;
101+ private final transient String repo ;
102102
103103 /**
104104 * Privateness of the new repo.
@@ -164,7 +164,7 @@ private RepoCreate(
164164 if (nme .isEmpty ()) {
165165 throw new IllegalArgumentException ("Name cannot be empty!" );
166166 }
167- this .nam = nme ;
167+ this .repo = nme ;
168168 this .priv = prvt ;
169169 this .descr = desc ;
170170 this .home = page ;
@@ -178,7 +178,7 @@ private RepoCreate(
178178 * @return Name
179179 */
180180 public String name () {
181- return this .nam ;
181+ return this .repo ;
182182 }
183183
184184 /**
@@ -250,7 +250,7 @@ public Repos.RepoCreate withName(
250250 */
251251 public Repos .RepoCreate withPrivacy (final boolean privacy ) {
252252 return new Repos .RepoCreate (
253- this .nam ,
253+ this .repo ,
254254 privacy ,
255255 this .descr ,
256256 this .home ,
@@ -268,7 +268,7 @@ public Repos.RepoCreate withDescription(
268268 final String desc
269269 ) {
270270 return new Repos .RepoCreate (
271- this .nam ,
271+ this .repo ,
272272 this .priv ,
273273 desc ,
274274 this .home ,
@@ -286,7 +286,7 @@ public Repos.RepoCreate withHomepage(
286286 final String page
287287 ) {
288288 return new Repos .RepoCreate (
289- this .nam ,
289+ this .repo ,
290290 this .priv ,
291291 this .descr ,
292292 page ,
@@ -302,7 +302,7 @@ public Repos.RepoCreate withHomepage(
302302 */
303303 public Repos .RepoCreate withAutoInit (final Optional <Boolean > auto ) {
304304 return new Repos .RepoCreate (
305- this .nam ,
305+ this .repo ,
306306 this .priv ,
307307 this .descr ,
308308 this .home ,
@@ -318,7 +318,7 @@ public Repos.RepoCreate withAutoInit(final Optional<Boolean> auto) {
318318 */
319319 public Repos .RepoCreate withAutoInit (final boolean auto ) {
320320 return new Repos .RepoCreate (
321- this .nam ,
321+ this .repo ,
322322 this .priv ,
323323 this .descr ,
324324 this .home ,
@@ -334,7 +334,7 @@ public Repos.RepoCreate withAutoInit(final boolean auto) {
334334 */
335335 public Repos .RepoCreate withOrganization (final String org ) {
336336 return new Repos .RepoCreate (
337- this .nam ,
337+ this .repo ,
338338 this .priv ,
339339 this .descr ,
340340 this .home ,
@@ -362,7 +362,7 @@ public Repos.RepoCreate with(final String key, final JsonValue value) {
362362 @ Override
363363 public JsonObject json () {
364364 JsonObjectBuilder builder = Json .createObjectBuilder ()
365- .add ("name" , this .nam )
365+ .add ("name" , this .repo )
366366 .add ("description" , this .descr )
367367 .add ("homepage" , this .home )
368368 .add ("private" , this .priv );
0 commit comments