commit | dd420b789ffbeeb202f2d394a75ec615a89b109f | [log] [tgz] |
---|---|---|
author | Thomas Draebing <thomas.draebing@sap.com> | Tue Oct 01 16:38:03 2019 +0200 |
committer | Thomas Draebing <thomas.draebing@sap.com> | Wed Oct 02 09:22:57 2019 +0200 |
tree | 9f22c1df1bf5c1a45788845cb8815935f7ceff0a | |
parent | 56a0a129a3ac61386a77e3c735b42e0de69338ac [diff] |
Use the inactive field of AccountInfo The AccountInfo-object now contains the activity state of an account. So far the plugin created this field in the ServiceUserInfo. This was not required anymore. Change-Id: I055572f4bd54aaf0ea393f3d02775cdd11bd2d7b
diff --git a/src/main/java/com/googlesource/gerrit/plugins/serviceuser/GetServiceUser.java b/src/main/java/com/googlesource/gerrit/plugins/serviceuser/GetServiceUser.java index 3a2460f..c4a6e7d 100644 --- a/src/main/java/com/googlesource/gerrit/plugins/serviceuser/GetServiceUser.java +++ b/src/main/java/com/googlesource/gerrit/plugins/serviceuser/GetServiceUser.java
@@ -87,7 +87,6 @@ public static class ServiceUserInfo extends AccountInfo { public AccountInfo createdBy; public String createdAt; - public Boolean inactive; public GroupInfo owner; public ServiceUserInfo(AccountInfo info) { @@ -97,6 +96,7 @@ email = info.email; username = info.username; avatars = info.avatars; + inactive = info.inactive; } } }