You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by je...@apache.org on 2014/04/16 00:46:24 UTC
git commit: Added some more missing ASF headers,
fixed go/test makefile structure
Repository: thrift
Updated Branches:
refs/heads/master 703200c9d -> 20bcf38be
Added some more missing ASF headers, fixed go/test makefile structure
Project: http://git-wip-us.apache.org/repos/asf/thrift/repo
Commit: http://git-wip-us.apache.org/repos/asf/thrift/commit/20bcf38b
Tree: http://git-wip-us.apache.org/repos/asf/thrift/tree/20bcf38b
Diff: http://git-wip-us.apache.org/repos/asf/thrift/diff/20bcf38b
Branch: refs/heads/master
Commit: 20bcf38be4a3af261998a7c8e396918795eb564a
Parents: 703200c
Author: Jens Geyer <je...@apache.org>
Authored: Wed Apr 16 00:27:31 2014 +0200
Committer: Jens Geyer <je...@apache.org>
Committed: Wed Apr 16 00:27:31 2014 +0200
----------------------------------------------------------------------
lib/go/test/Makefile.am | 5 ++++-
lib/go/thrift/serializer_types.go | 19 +++++++++++++++++++
lib/go/thrift/transport_exception_test.go | 19 +++++++++++++++++++
3 files changed, 42 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/thrift/blob/20bcf38b/lib/go/test/Makefile.am
----------------------------------------------------------------------
diff --git a/lib/go/test/Makefile.am b/lib/go/test/Makefile.am
index 046448c..3055942 100644
--- a/lib/go/test/Makefile.am
+++ b/lib/go/test/Makefile.am
@@ -21,7 +21,10 @@ THRIFT = $(top_srcdir)/compiler/cpp/thrift -out gopath/src/ --gen go:thrift_impo
THRIFTTEST = $(top_srcdir)/test/ThriftTest.thrift
# Thrift for GO has problems with complex map keys: THRIFT-2063
-gopath: $(top_srcdir)/compiler/cpp/thrift $(THRIFTTEST) IncludesTest.thrift NamespacedTest.thrift OnewayTest.thrift
+gopath: $(top_srcdir)/compiler/cpp/thrift $(THRIFTTEST) \
+ IncludesTest.thrift \
+ NamespacedTest.thrift \
+ OnewayTest.thrift
mkdir -p gopath/src
grep -v list.*map.*list.*map $(THRIFTTEST) > ThriftTest.thrift
$(THRIFT) -r IncludesTest.thrift
http://git-wip-us.apache.org/repos/asf/thrift/blob/20bcf38b/lib/go/thrift/serializer_types.go
----------------------------------------------------------------------
diff --git a/lib/go/thrift/serializer_types.go b/lib/go/thrift/serializer_types.go
index 0810784..efbcde8 100644
--- a/lib/go/thrift/serializer_types.go
+++ b/lib/go/thrift/serializer_types.go
@@ -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.
+ */
+
package thrift
// Autogenerated by Thrift Compiler (1.0.0-dev)
http://git-wip-us.apache.org/repos/asf/thrift/blob/20bcf38b/lib/go/thrift/transport_exception_test.go
----------------------------------------------------------------------
diff --git a/lib/go/thrift/transport_exception_test.go b/lib/go/thrift/transport_exception_test.go
index 55b0a77..b44314f 100644
--- a/lib/go/thrift/transport_exception_test.go
+++ b/lib/go/thrift/transport_exception_test.go
@@ -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.
+ */
+
package thrift
import (