I think keep these two license header in the file should be fine.
But I'd ask for help from our mentors @Roman and @JB.

BTW, we may head the same issue in our Golang project Service Center.


Willem Jiang

Blog: http://willemjiang.blogspot.com (English)
          http://jnn.iteye.com  (Chinese)
Twitter: willemjiang
Weibo: 姜宁willem

On Fri, Jan 12, 2018 at 9:28 AM, wjm wjm <[email protected]> wrote:

> io.servicecomb.transport.rest.vertx.RestBodyHandler is copied
> from io.vertx.ext.web.handler.impl.BodyHandlerImpl, and do some modify
> because we cannot extend io.vertx.ext.web.handler.impl.BodyHandlerImpl to
> change the behavior.
>
> We will try our best to submit the PR to the Vertx Community. But now we
> just copy the file and do some change as a temporary solution.
>
> Should we just keep this two license headers in the
> io.servicecomb.transport.rest.vertx.RestBodyHandler file?
>
> license of io.vertx.ext.web.handler.impl.BodyHandlerImpl is:
> /*
>  * Copyright 2014 Red Hat, Inc.
>  *
>  *  All rights reserved. This program and the accompanying materials
>  *  are made available under the terms of the Eclipse Public License v1.0
>  *  and Apache License v2.0 which accompanies this distribution.
>  *
>  *  The Eclipse Public License is available at
>  *  http://www.eclipse.org/legal/epl-v10.html
>  *
>  *  The Apache License v2.0 is available at
>  *  http://www.opensource.org/licenses/apache2.0.php
>  *
>  *  You may elect to redistribute this code under either of these licenses.
>  */
>
> license of us is:
> /*
>  * 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.
>  */
>

Reply via email to