Browse Source

[Typo] standardized license header. (#14548)

Co-authored-by: wentz <wentz@getui.com>
Co-authored-by: Eric Gao <ericgao.apache@gmail.com>
FlechazoW 1 year ago
parent
commit
027d66d200

+ 18 - 16
dolphinscheduler-remote/src/main/java/org/apache/dolphinscheduler/rpc/common/ResponseEventType.java

@@ -1,19 +1,21 @@
-package org.apache.dolphinscheduler.rpc.common;/*
-                                               * Licensed to the Apache Software Foundation (ASF) under one or more
-                                               * contributor license agreements.  See the NOTICE file distributed with
-                                               * this work for additional information regarding copyright ownership.
-                                               * The ASF licenses this file to You under the Apache License, Version 2.0
-                                               * (the "License"); you may not use this file except in compliance with
-                                               * the License.  You may obtain a copy of the License at
-                                               *
-                                               *    http://www.apache.org/licenses/LICENSE-2.0
-                                               *
-                                               * Unless required by applicable law or agreed to in writing, software
-                                               * distributed under the License is distributed on an "AS IS" BASIS,
-                                               * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-                                               * See the License for the specific language governing permissions and
-                                               * limitations under the License.
-                                               */
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.dolphinscheduler.rpc.common;
 
 public enum ResponseEventType {
 

+ 18 - 16
dolphinscheduler-remote/src/main/java/org/apache/dolphinscheduler/rpc/serializer/ProtoStuffSerializer.java

@@ -1,19 +1,21 @@
-package org.apache.dolphinscheduler.rpc.serializer;/*
-                                                   * Licensed to the Apache Software Foundation (ASF) under one or more
-                                                   * contributor license agreements.  See the NOTICE file distributed with
-                                                   * this work for additional information regarding copyright ownership.
-                                                   * The ASF licenses this file to You under the Apache License, Version 2.0
-                                                   * (the "License"); you may not use this file except in compliance with
-                                                   * the License.  You may obtain a copy of the License at
-                                                   *
-                                                   *    http://www.apache.org/licenses/LICENSE-2.0
-                                                   *
-                                                   * Unless required by applicable law or agreed to in writing, software
-                                                   * distributed under the License is distributed on an "AS IS" BASIS,
-                                                   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-                                                   * See the License for the specific language governing permissions and
-                                                   * limitations under the License.
-                                                   */
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.dolphinscheduler.rpc.serializer;
 
 import java.util.Map;
 import java.util.concurrent.ConcurrentHashMap;

+ 18 - 16
dolphinscheduler-remote/src/main/java/org/apache/dolphinscheduler/rpc/serializer/RpcSerializer.java

@@ -1,19 +1,21 @@
-package org.apache.dolphinscheduler.rpc.serializer;/*
-                                                   * Licensed to the Apache Software Foundation (ASF) under one or more
-                                                   * contributor license agreements.  See the NOTICE file distributed with
-                                                   * this work for additional information regarding copyright ownership.
-                                                   * The ASF licenses this file to You under the Apache License, Version 2.0
-                                                   * (the "License"); you may not use this file except in compliance with
-                                                   * the License.  You may obtain a copy of the License at
-                                                   *
-                                                   *    http://www.apache.org/licenses/LICENSE-2.0
-                                                   *
-                                                   * Unless required by applicable law or agreed to in writing, software
-                                                   * distributed under the License is distributed on an "AS IS" BASIS,
-                                                   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-                                                   * See the License for the specific language governing permissions and
-                                                   * limitations under the License.
-                                                   */
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.dolphinscheduler.rpc.serializer;
 
 import java.util.HashMap;
 

+ 18 - 16
dolphinscheduler-task-plugin/dolphinscheduler-task-python/src/main/java/org/apache/dolphinscheduler/plugin/task/python/PythonTaskChannelFactory.java

@@ -1,19 +1,21 @@
-package org.apache.dolphinscheduler.plugin.task.python;/*
-                                                       * Licensed to the Apache Software Foundation (ASF) under one or more
-                                                       * contributor license agreements.  See the NOTICE file distributed with
-                                                       * this work for additional information regarding copyright ownership.
-                                                       * The ASF licenses this file to You under the Apache License, Version 2.0
-                                                       * (the "License"); you may not use this file except in compliance with
-                                                       * the License.  You may obtain a copy of the License at
-                                                       *
-                                                       *    http://www.apache.org/licenses/LICENSE-2.0
-                                                       *
-                                                       * Unless required by applicable law or agreed to in writing, software
-                                                       * distributed under the License is distributed on an "AS IS" BASIS,
-                                                       * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-                                                       * See the License for the specific language governing permissions and
-                                                       * limitations under the License.
-                                                       */
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.dolphinscheduler.plugin.task.python;
 
 import org.apache.dolphinscheduler.plugin.task.api.TaskChannel;
 import org.apache.dolphinscheduler.plugin.task.api.TaskChannelFactory;