Permalink
Browse files

update license headers

  • Loading branch information...
1 parent 3f2f76b commit ac7057048774443dbdc18c561cf6d6daa4f6d5ab Henning Schmiedehausen committed with hgschmie Nov 12, 2012
Showing with 485 additions and 394 deletions.
  1. +0 −1 license.txt → LICENSE.txt
  2. +0 −13 license-header.txt
  3. +15 −0 license/LICENSE-HEADER.txt
  4. +4 −0 nifty-client/pom.xml
  5. +10 −10 nifty-client/src/main/java/com/facebook/nifty/client/AbstractClientChannel.java
  6. +10 −10 nifty-client/src/main/java/com/facebook/nifty/client/FramedClientChannel.java
  7. +10 −10 nifty-client/src/main/java/com/facebook/nifty/client/NettyClientConfigBuilder.java
  8. +10 −10 nifty-client/src/main/java/com/facebook/nifty/client/NiftyClient.java
  9. +10 −10 nifty-client/src/main/java/com/facebook/nifty/client/NiftyClientChannel.java
  10. +10 −10 nifty-client/src/main/java/com/facebook/nifty/client/NiftyClientChannelPipelineFactory.java
  11. +10 −10 nifty-client/src/main/java/com/facebook/nifty/client/TChannelBufferInputTransport.java
  12. +10 −10 nifty-client/src/main/java/com/facebook/nifty/client/TChannelBufferOutputTransport.java
  13. +10 −10 nifty-client/src/main/java/com/facebook/nifty/client/TNiftyAsyncClientTransport.java
  14. +10 −10 nifty-client/src/main/java/com/facebook/nifty/client/TNiftyClientAdapter.java
  15. +10 −10 nifty-client/src/main/java/com/facebook/nifty/client/TNiftyClientListener.java
  16. +10 −10 nifty-client/src/main/java/com/facebook/nifty/client/TNiftyClientTransport.java
  17. +10 −10 nifty-client/src/main/java/com/facebook/nifty/client/TNiftyReadOnlyTransport.java
  18. +10 −10 nifty-client/src/main/java/com/facebook/nifty/client/socks/SettableChannelFuture.java
  19. +10 −10 nifty-client/src/main/java/com/facebook/nifty/client/socks/Socks4ClientBootstrap.java
  20. +10 −10 nifty-client/src/main/java/com/facebook/nifty/client/socks/Socks4HandshakeHandler.java
  21. +10 −10 nifty-client/src/main/java/com/facebook/nifty/client/socks/SocksProtocols.java
  22. +4 −0 nifty-core/pom.xml
  23. +10 −10 nifty-core/src/main/java/com/facebook/nifty/core/ChannelStatistics.java
  24. +10 −10 nifty-core/src/main/java/com/facebook/nifty/core/NettyConfigBuilder.java
  25. +10 −10 nifty-core/src/main/java/com/facebook/nifty/core/NettyConfigBuilderBase.java
  26. +10 −10 nifty-core/src/main/java/com/facebook/nifty/core/NettyServerTransport.java
  27. +10 −10 nifty-core/src/main/java/com/facebook/nifty/core/NettyThriftDecoder.java
  28. +10 −10 nifty-core/src/main/java/com/facebook/nifty/core/NiftyBootstrap.java
  29. +10 −10 nifty-core/src/main/java/com/facebook/nifty/core/NiftyDispatcher.java
  30. +10 −10 nifty-core/src/main/java/com/facebook/nifty/core/TNiftyTransport.java
  31. +10 −10 nifty-core/src/main/java/com/facebook/nifty/core/ThriftServerDef.java
  32. +10 −10 nifty-core/src/main/java/com/facebook/nifty/core/ThriftServerDefBuilder.java
  33. +10 −10 nifty-core/src/main/java/com/facebook/nifty/guice/NiftyModule.java
  34. +10 −10 nifty-core/src/test/java/com/facebook/nifty/core/TestCodec.java
  35. +10 −10 nifty-core/src/test/java/com/facebook/nifty/core/TestNettyConfigBuilder.java
  36. +10 −10 nifty-core/src/test/java/com/facebook/nifty/core/TestServerDefBuilder.java
  37. +4 −0 nifty-examples/pom.xml
  38. +10 −10 nifty-examples/src/main/java/com/facebook/nifty/server/Plain.java
  39. +10 −10 nifty-examples/src/main/java/com/facebook/nifty/test/LogEntry.java
  40. +10 −10 nifty-examples/src/main/java/com/facebook/nifty/test/ResultCode.java
  41. +10 −10 nifty-examples/src/main/java/com/facebook/nifty/test/scribe.java
  42. +10 −10 nifty-examples/src/test/java/com/facebook/nifty/server/TestNiftyClient.java
  43. +10 −10 nifty-examples/src/test/java/com/facebook/nifty/server/TestPlainServer.java
  44. +9 −9 nifty-examples/src/test/resources/log4j.properties
  45. +4 −0 nifty-load-tester/pom.xml
  46. +15 −0 nifty-load-tester/src/main/java/com/facebook/nifty/perf/LoadError.java
  47. +15 −0 nifty-load-tester/src/main/java/com/facebook/nifty/perf/LoadTest.java
  48. +15 −0 nifty-load-tester/src/main/java/com/facebook/nifty/perf/LoadTestHandler.java
  49. +15 −0 nifty-load-tester/src/main/java/com/facebook/nifty/perf/NiftyLoadTester.java
  50. +0 −1 pom.xml
  51. +15 −0 src/license/LICENSE-HEADER.txt
View
1 license.txt → LICENSE.txt 100755 → 100644
@@ -200,4 +200,3 @@
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.
-
View
@@ -1,13 +0,0 @@
-Copyright 2012 Facebook, Inc.
-
-Licensed 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.
@@ -0,0 +1,15 @@
+Copyright (C) ${year} Facebook, Inc.
+
+Licensed 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.
+
+
@@ -32,6 +32,10 @@ limitations under the License.
<artifactId>nifty-client</artifactId>
<packaging>jar</packaging>
+ <properties>
+ <fb.main.basedir>${project.parent.basedir}</fb.main.basedir>
+ </properties>
+
<dependencies>
<dependency>
<groupId>com.facebook.nifty</groupId>
@@ -1,17 +1,17 @@
-/**
- * Copyright 2012 Facebook, Inc.
+/*
+ * Copyright (C) 2012 Facebook, Inc.
*
- * Licensed 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
+ * Licensed 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
+ * 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.
+ * 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 com.facebook.nifty.client;
@@ -1,17 +1,17 @@
-/**
- * Copyright 2012 Facebook, Inc.
+/*
+ * Copyright (C) 2012 Facebook, Inc.
*
- * Licensed 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
+ * Licensed 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
+ * 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.
+ * 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 com.facebook.nifty.client;
@@ -1,17 +1,17 @@
-/**
- * Copyright 2012 Facebook, Inc.
+/*
+ * Copyright (C) 2012 Facebook, Inc.
*
- * Licensed 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
+ * Licensed 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
+ * 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.
+ * 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 com.facebook.nifty.client;
@@ -1,17 +1,17 @@
-/**
- * Copyright 2012 Facebook, Inc.
+/*
+ * Copyright (C) 2012 Facebook, Inc.
*
- * Licensed 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
+ * Licensed 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
+ * 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.
+ * 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 com.facebook.nifty.client;
@@ -1,17 +1,17 @@
-/**
- * Copyright 2012 Facebook, Inc.
+/*
+ * Copyright (C) 2012 Facebook, Inc.
*
- * Licensed 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
+ * Licensed 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
+ * 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.
+ * 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 com.facebook.nifty.client;
@@ -1,17 +1,17 @@
-/**
- * Copyright 2012 Facebook, Inc.
+/*
+ * Copyright (C) 2012 Facebook, Inc.
*
- * Licensed 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
+ * Licensed 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
+ * 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.
+ * 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 com.facebook.nifty.client;
@@ -1,17 +1,17 @@
-/**
- * Copyright 2012 Facebook, Inc.
+/*
+ * Copyright (C) 2012 Facebook, Inc.
*
- * Licensed 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
+ * Licensed 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
+ * 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.
+ * 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 com.facebook.nifty.client;
@@ -1,17 +1,17 @@
-/**
- * Copyright 2012 Facebook, Inc.
+/*
+ * Copyright (C) 2012 Facebook, Inc.
*
- * Licensed 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
+ * Licensed 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
+ * 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.
+ * 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 com.facebook.nifty.client;
@@ -1,17 +1,17 @@
-/**
- * Copyright 2012 Facebook, Inc.
+/*
+ * Copyright (C) 2012 Facebook, Inc.
*
- * Licensed 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
+ * Licensed 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
+ * 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.
+ * 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 com.facebook.nifty.client;
@@ -1,17 +1,17 @@
-/**
- * Copyright 2012 Facebook, Inc.
+/*
+ * Copyright (C) 2012 Facebook, Inc.
*
- * Licensed 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
+ * Licensed 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
+ * 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.
+ * 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 com.facebook.nifty.client;
@@ -1,17 +1,17 @@
-/**
- * Copyright 2012 Facebook, Inc.
+/*
+ * Copyright (C) 2012 Facebook, Inc.
*
- * Licensed 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
+ * Licensed 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
+ * 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.
+ * 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 com.facebook.nifty.client;
@@ -1,17 +1,17 @@
-/**
- * Copyright 2012 Facebook, Inc.
+/*
+ * Copyright (C) 2012 Facebook, Inc.
*
- * Licensed 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
+ * Licensed 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
+ * 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.
+ * 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 com.facebook.nifty.client;
Oops, something went wrong.

0 comments on commit ac70570

Please sign in to comment.