rishabhdaim commented on code in PR #1644:
URL: https://github.com/apache/jackrabbit-oak/pull/1644#discussion_r1716466526
##########
oak-store-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/VersionGCRecommendations.java:
##########
@@ -428,6 +428,18 @@ public GCResult(boolean ignoreGC, TimeInterval gcScope) {
}
enum GcType {
- RGC, DGC
+ RGC("Revision GC"), // revision GC
+ FGC("Full GC"); // full GC
+
+ private final String name;
+
+ GcType(String name) {
+ this.name = name;
Review Comment:
the main reason for this PR is to remove `DGC` with `FGC`. I added names to
the enum constructor to give them meaning names for better clarity.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]