summaryrefslogtreecommitdiff
path: root/tutorial/java
diff options
context:
space:
mode:
authorDavid Reiss <dreiss@apache.org>2009-03-30 21:35:00 +0000
committerDavid Reiss <dreiss@apache.org>2009-03-30 21:35:00 +0000
commitea2cba8ba8484a8d4e669c02dd97b3b2445ef322 (patch)
tree6be4a3bf2d069a006c9a15f5ee47a1893a176f4d /tutorial/java
parent4bc4231040186d9e0c35ff4d8211ce7b7e43aab5 (diff)
downloadthrift-ea2cba8ba8484a8d4e669c02dd97b3b2445ef322.tar.gz
THRIFT-387. Add license headers to a bunch of files
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@760189 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'tutorial/java')
-rw-r--r--tutorial/java/build.xml18
-rw-r--r--tutorial/java/src/JavaClient.java19
-rw-r--r--tutorial/java/src/JavaServer.java19
3 files changed, 56 insertions, 0 deletions
diff --git a/tutorial/java/build.xml b/tutorial/java/build.xml
index 66e291480..0ec1ea405 100644
--- a/tutorial/java/build.xml
+++ b/tutorial/java/build.xml
@@ -1,3 +1,21 @@
+<!--
+ 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.
+-->
<project name="tutorial" default="tutorial" basedir=".">
<description>Thrift Tutorial</description>
diff --git a/tutorial/java/src/JavaClient.java b/tutorial/java/src/JavaClient.java
index eaeafc9a9..5dc70ed5d 100644
--- a/tutorial/java/src/JavaClient.java
+++ b/tutorial/java/src/JavaClient.java
@@ -1,3 +1,22 @@
+/*
+ * 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.
+ */
+
// Generated code
import tutorial.*;
import shared.*;
diff --git a/tutorial/java/src/JavaServer.java b/tutorial/java/src/JavaServer.java
index 631fb9a3d..14440eb7a 100644
--- a/tutorial/java/src/JavaServer.java
+++ b/tutorial/java/src/JavaServer.java
@@ -1,3 +1,22 @@
+/*
+ * 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.
+ */
+
import org.apache.thrift.TException;
import org.apache.thrift.protocol.TBinaryProtocol;
import org.apache.thrift.protocol.TProtocol;