diff options
author | Jesse Morgan <jesse@jesterpm.net> | 2018-07-14 12:11:53 -0700 |
---|---|---|
committer | Jesse Morgan <jesse@jesterpm.net> | 2018-07-14 12:11:53 -0700 |
commit | 633d0cebff548b6a54ac33e464447d93e800bf12 (patch) | |
tree | acf7ec4000631e5fa7d5d9a8155367070c23fffa /src/main/java/com/p4square/ccbapi/model/GroupProfile.java | |
parent | 3dac0195d484bebd1c604e175bcddd2edb994f82 (diff) |
Invert GroupProfile active/inactive flag.
The flag in CCB is called inactive, but I'm renaming it to active to
avoid the negative.
Diffstat (limited to 'src/main/java/com/p4square/ccbapi/model/GroupProfile.java')
-rw-r--r-- | src/main/java/com/p4square/ccbapi/model/GroupProfile.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/com/p4square/ccbapi/model/GroupProfile.java b/src/main/java/com/p4square/ccbapi/model/GroupProfile.java index cf826e6..4da03fb 100644 --- a/src/main/java/com/p4square/ccbapi/model/GroupProfile.java +++ b/src/main/java/com/p4square/ccbapi/model/GroupProfile.java @@ -256,12 +256,12 @@ public class GroupProfile { this.publicSearchListed = publicSearchListed; } - public boolean isInactive() { - return inactive; + public boolean isActive() { + return !inactive; } - public void setInactive(boolean inactive) { - this.inactive = inactive; + public void setActive(boolean active) { + this.inactive = !inactive; } public boolean isNotification() { |