[#5900] feat(tag): support tag pre-event to Gravitino server #11962
Annotations
3 errors
|
Package Gravitino:
task ':core:spotlessJavaCheck'#L1
Execution failed for task ':core:spotlessJavaCheck':
The following files had format violations:
src/main/java/org/apache/gravitino/listener/TagEventDispatcher.java
@@ -22,24 +22,24 @@
import·org.apache.gravitino.MetadataObject;
import·org.apache.gravitino.exceptions.NoSuchTagException;
import·org.apache.gravitino.listener.api.event.AlterTagFailureEvent;
+import·org.apache.gravitino.listener.api.event.AlterTagPreEvent;
import·org.apache.gravitino.listener.api.event.AssociateTagsForMetadataObjectFailureEvent;
+import·org.apache.gravitino.listener.api.event.AssociateTagsForMetadataObjectPreEvent;
import·org.apache.gravitino.listener.api.event.CreateTagFailureEvent;
+import·org.apache.gravitino.listener.api.event.CreateTagPreEvent;
import·org.apache.gravitino.listener.api.event.DeleteTagFailureEvent;
+import·org.apache.gravitino.listener.api.event.DeleteTagPreEvent;
import·org.apache.gravitino.listener.api.event.GetTagFailureEvent;
import·org.apache.gravitino.listener.api.event.GetTagForMetadataObjectFailureEvent;
+import·org.apache.gravitino.listener.api.event.GetTagForMetadataObjectPreEvent;
+import·org.apache.gravitino.listener.api.event.GetTagPreEvent;
import·org.apache.gravitino.listener.api.event.ListMetadataObjectsForTagFailureEvent;
+import·org.apache.gravitino.listener.api.event.ListMetadataObjectsForTagPreEvent;
import·org.apache.gravitino.listener.api.event.ListTagsFailureEvent;
import·org.apache.gravitino.listener.api.event.ListTagsForMetadataObjectFailureEvent;
+import·org.apache.gravitino.listener.api.event.ListTagsForMetadataObjectPreEvent;
import·org.apache.gravitino.listener.api.event.ListTagsInfoFailureEvent;
import·org.apache.gravitino.listener.api.event.ListTagsInfoForMetadataObjectFailureEvent;
-import·org.apache.gravitino.listener.api.event.AlterTagPreEvent;
-import·org.apache.gravitino.listener.api.event.AssociateTagsForMetadataObjectPreEvent;
-import·org.apache.gravitino.listener.api.event.CreateTagPreEvent;
-import·org.apache.gravitino.listener.api.event.DeleteTagPreEvent;
-import·org.apache.gravitino.listener.api.event.GetTagForMetadataObjectPreEvent;
-import·org.apache.gravitino.listener.api.event.GetTagPreEvent;
-import·org.apache.gravitino.listener.api.event.ListMetadataObjectsForTagPreEvent;
-import·org.apache.gravitino.listener.api.event.ListTagsForMetadataObjectPreEvent;
import·org.apache.gravitino.listener.api.event.ListTagsInfoForMetadataObjectPreEvent;
import·org.apache.gravitino.listener.api.event.ListTagsInfoPreEvent;
import·org.apache.gravitino.listener.api.event.ListTagsPreEvent;
src/main/java/org/apache/gravitino/listener/api/event/CreateTagPreEvent.java
@@ -19,9 +19,9 @@
package·org.apache.gravitino.listener.api.event;
+import·org.apache.gravitino.annotation.DeveloperApi;
import·org.apache.gravitino.listener.api.info.TagInfo;
import·org.apache.gravitino.utils.NameIdentifierUtil;
-import·org.apache.gravitino.annotation.DeveloperApi;
@DeveloperAPI
public·class·CreateTagPreEvent·extends·TagPreEvent·{
src/main/java/org/apache/gravitino/listener/api/event/GetTagForMetadataObjectPreEvent.java
@@ -19,7 +19,6 @@
package·org.apache.gravitino.listener.api.event;
... (5 more lines that didn't fit)
Violations also present in:
src/main/java/org/apache/gravitino/listener/api/event/ListMetadataObjectsForTagPreEvent.java
Run './gradlew :core:spotlessApply' to fix these violations.
at com.diffplug.gradle.spotless.SpotlessCheck.performAction(SpotlessCheck.java:
|
Package Gravitino
The operation was canceled.
|
Loading