shodaaan commented on code in PR #1805:
URL: https://github.com/apache/jackrabbit-oak/pull/1805#discussion_r1812639251
##########
oak-run/src/main/java/org/apache/jackrabbit/oak/plugins/document/GenerateGarbageHelper.java:
##########
@@ -0,0 +1,19 @@
+package org.apache.jackrabbit.oak.plugins.document;
+
+/**
+ * Helper class to generate garbage for testing purposes.
+ */
+public class GenerateGarbageHelper {
+
+ public static boolean isInvalidGarbageGenerationMode(int fullGCMode) {
+ return fullGCMode == 0;
+ }
+
+ public static boolean includesEmptyProps(int fullGCMode) {
+ return fullGCMode == 1;
+ }
+
+ public static boolean includesGapOrphans(int fullGCMode) {
Review Comment:
Fixed, thank you for the suggestion.
--
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]