diff --git a/gerrit/src/main/java/com/ruesga/rview/gerrit/GerritApiClient.java b/gerrit/src/main/java/com/ruesga/rview/gerrit/GerritApiClient.java index 353dab88..4203a458 100644 --- a/gerrit/src/main/java/com/ruesga/rview/gerrit/GerritApiClient.java +++ b/gerrit/src/main/java/com/ruesga/rview/gerrit/GerritApiClient.java @@ -1670,7 +1670,7 @@ public Observable getServerVersion() { return andCacheVersion(SafeObservable.fromNullCallable(() -> { ServerVersion version = mService.getServerVersion().blockingFirst(); if (version != null && version.isDevelopmentVersion()) { - return version.createDevelepmentVersion(); + return version.createDevelopmentVersion(); } return version; })); diff --git a/gerrit/src/main/java/com/ruesga/rview/gerrit/model/ServerVersion.java b/gerrit/src/main/java/com/ruesga/rview/gerrit/model/ServerVersion.java index f654ad82..62e6dd1b 100644 --- a/gerrit/src/main/java/com/ruesga/rview/gerrit/model/ServerVersion.java +++ b/gerrit/src/main/java/com/ruesga/rview/gerrit/model/ServerVersion.java @@ -52,7 +52,7 @@ public boolean isDevelopmentVersion() { return major == 0 && minor == 0; } - public ServerVersion createDevelepmentVersion() { + public ServerVersion createDevelopmentVersion() { return new ServerVersion(GerritApi.API_VERSION + "." + build); }