pavel-avilov commented on a change in pull request #16172:
URL: https://github.com/apache/beam/pull/16172#discussion_r765790081



##########
File path: playground/backend/internal/preparators/java_preparators.go
##########
@@ -48,6 +48,19 @@ func GetJavaPreparators(filePath string) *[]Preparator {
        return &[]Preparator{publicClassModification, additionalPackage}
 }
 
+// GetJavaPreparatorsForKatas returns preparation methods that should be 
applied to katas with Java code
+func GetJavaPreparatorsForKatas(filePath string) *[]Preparator {
+       publicClassModification := Preparator{
+               Prepare: replace,
+               Args:    []interface{}{filePath, 
classWithPublicModifierPattern, classWithoutPublicModifierPattern},
+       }
+       removePackage := Preparator{
+               Prepare: replace,
+               Args:    []interface{}{filePath, packagePattern, ``},

Review comment:
       Done.




-- 
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]


Reply via email to