Skip to content

Commit

Permalink
fix license for 3.0 (apache#7979)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbumenJ authored Jun 4, 2021
1 parent 259dff2 commit 0dc8612
Show file tree
Hide file tree
Showing 5 changed files with 48 additions and 13 deletions.
8 changes: 0 additions & 8 deletions NOTICE
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,3 @@ Please visit the Netty web site for more information:
* http://netty.io/

Copyright 2014 The Netty Project

The product contains code form the Google Protocol Buffers project:

Please visit the following site for more information:
https://developers.google.com/protocol-buffers/

Copyright 2008 Google Inc. All rights reserved.

Original file line number Diff line number Diff line change
@@ -1,4 +1,19 @@
function route(invokers,invocation,context){
// 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.

function route(invokers,invocation,context){
var result = new java.util.ArrayList(invokers.size());

for (i=0;i<invokers.size(); i++){
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,19 @@
function route(invokers,invocation,context){
// 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.

function route(invokers,invocation,context){
var result = new java.util.ArrayList();
if (invokers.size()>1 && invocation.getMethodName() .equals("method1")) {
result.add(invokers.get(0)) ;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,19 @@
function route(invokers,invocation,context){
// 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.

function route(invokers,invocation,context){
var result = new java.util.ArrayList(invokers.size());

for (i=0;i<invokers.size(); i++){
Expand Down
2 changes: 0 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -541,9 +541,7 @@
<exclude>**/*.load</exclude>
<exclude>**/*.flex</exclude>
<exclude>**/*.fc</exclude>
<exclude>**/*.javascript</exclude>
<exclude>**/*.properties</exclude>
<exclude>**/*.thrift</exclude>
<exclude>**/*.sh</exclude>
<exclude>**/*.bat</exclude>
<exclude>**/*.md</exclude>
Expand Down

0 comments on commit 0dc8612

Please sign in to comment.