You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2017/06/21 02:03:51 UTC
groovy git commit: add missing license headers
Repository: groovy
Updated Branches:
refs/heads/master ab5defa3c -> f48a33c0b
add missing license headers
Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/f48a33c0
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/f48a33c0
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/f48a33c0
Branch: refs/heads/master
Commit: f48a33c0bd462636b767bc7c28de8cf26db56aba
Parents: ab5defa
Author: paulk <pa...@asert.com.au>
Authored: Wed Jun 21 12:03:40 2017 +1000
Committer: paulk <pa...@asert.com.au>
Committed: Wed Jun 21 12:03:40 2017 +1000
----------------------------------------------------------------------
.../classgen/asm/util/LoggableClassVisitor.java | 20 +++++++++++++++++++
.../classgen/asm/util/LoggableTextifier.java | 21 +++++++++++++++++++-
2 files changed, 40 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/groovy/blob/f48a33c0/src/main/org/codehaus/groovy/classgen/asm/util/LoggableClassVisitor.java
----------------------------------------------------------------------
diff --git a/src/main/org/codehaus/groovy/classgen/asm/util/LoggableClassVisitor.java b/src/main/org/codehaus/groovy/classgen/asm/util/LoggableClassVisitor.java
index f5a0220..ac01f17 100644
--- a/src/main/org/codehaus/groovy/classgen/asm/util/LoggableClassVisitor.java
+++ b/src/main/org/codehaus/groovy/classgen/asm/util/LoggableClassVisitor.java
@@ -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.
+ */
package org.codehaus.groovy.classgen.asm.util;
import org.objectweb.asm.ClassVisitor;
@@ -6,6 +24,8 @@ import org.objectweb.asm.util.TraceClassVisitor;
/**
* A ClassVisitor proxy, which can log bytecode generation
+ *
+ * @since 2.4.12
*/
public class LoggableClassVisitor extends ClassVisitor {
public LoggableClassVisitor(final ClassVisitor cv) {
http://git-wip-us.apache.org/repos/asf/groovy/blob/f48a33c0/src/main/org/codehaus/groovy/classgen/asm/util/LoggableTextifier.java
----------------------------------------------------------------------
diff --git a/src/main/org/codehaus/groovy/classgen/asm/util/LoggableTextifier.java b/src/main/org/codehaus/groovy/classgen/asm/util/LoggableTextifier.java
index 46db3d5..e713671 100644
--- a/src/main/org/codehaus/groovy/classgen/asm/util/LoggableTextifier.java
+++ b/src/main/org/codehaus/groovy/classgen/asm/util/LoggableTextifier.java
@@ -1,6 +1,23 @@
+/*
+ * 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 org.codehaus.groovy.classgen.asm.util;
-
import org.objectweb.asm.Attribute;
import org.objectweb.asm.Handle;
import org.objectweb.asm.Label;
@@ -13,6 +30,8 @@ import java.util.List;
/**
* Logging bytecode generation, which can make debugging easy
+ *
+ * @since 2.4.12
*/
public class LoggableTextifier extends Textifier {
// private static final Logger LOGGER = Logger.getLogger(LoggableTextifier.class.getName());