You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by cd...@apache.org on 2014/11/02 20:42:07 UTC
git commit: [flex-falcon] [refs/heads/feature/flexmojos-tests] -
Added apache headers to the new source files.
Repository: flex-falcon
Updated Branches:
refs/heads/feature/flexmojos-tests ac95268d2 -> 7938fd4a8
Added apache headers to the new source files.
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/7938fd4a
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/7938fd4a
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/7938fd4a
Branch: refs/heads/feature/flexmojos-tests
Commit: 7938fd4a8edd649a53f7ca02bd25c196054a1705
Parents: ac95268
Author: Christofer Dutz <ch...@codecentric.de>
Authored: Sun Nov 2 20:41:52 2014 +0100
Committer: Christofer Dutz <ch...@codecentric.de>
Committed: Sun Nov 2 20:41:52 2014 +0100
----------------------------------------------------------------------
compiler/src/org/apache/flex/swf/io/SWFDump.java | 4 ++--
.../flex/swf/io/SWFDumpDirectoryWriter.java | 18 ++++++++++++++++++
.../java/org/apache/flex/swf/io/SWFDumpMojo.java | 18 ++++++++++++++++++
3 files changed, 38 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/7938fd4a/compiler/src/org/apache/flex/swf/io/SWFDump.java
----------------------------------------------------------------------
diff --git a/compiler/src/org/apache/flex/swf/io/SWFDump.java b/compiler/src/org/apache/flex/swf/io/SWFDump.java
index 298948d..090b2a2 100644
--- a/compiler/src/org/apache/flex/swf/io/SWFDump.java
+++ b/compiler/src/org/apache/flex/swf/io/SWFDump.java
@@ -100,7 +100,7 @@ public final class SWFDump
* @param url URL of the SWF to dump.
* @throws IOException
*/
- private void dump(URL url) throws IOException
+ public void dump(URL url) throws IOException
{
final SWFReader swfReader = new SWFReader();
final String path = url.getPath();
@@ -2534,7 +2534,7 @@ public final class SWFDump
}
}
- private static void dumpSwf(PrintWriter out, URL url, String outfile)
+ public static void dumpSwf(PrintWriter out, URL url, String outfile)
throws IOException
{
out.println("<?xml version=\"1.0\" encoding=\"UTF-8\"?>");
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/7938fd4a/flexmojos-tests/bytecode-dumper/src/main/java/org/apache/flex/swf/io/SWFDumpDirectoryWriter.java
----------------------------------------------------------------------
diff --git a/flexmojos-tests/bytecode-dumper/src/main/java/org/apache/flex/swf/io/SWFDumpDirectoryWriter.java b/flexmojos-tests/bytecode-dumper/src/main/java/org/apache/flex/swf/io/SWFDumpDirectoryWriter.java
index 6785764..92ab028 100644
--- a/flexmojos-tests/bytecode-dumper/src/main/java/org/apache/flex/swf/io/SWFDumpDirectoryWriter.java
+++ b/flexmojos-tests/bytecode-dumper/src/main/java/org/apache/flex/swf/io/SWFDumpDirectoryWriter.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.apache.flex.swf.io;
import org.apache.maven.plugin.logging.Log;
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/7938fd4a/flexmojos-tests/bytecode-dumper/src/main/java/org/apache/flex/swf/io/SWFDumpMojo.java
----------------------------------------------------------------------
diff --git a/flexmojos-tests/bytecode-dumper/src/main/java/org/apache/flex/swf/io/SWFDumpMojo.java b/flexmojos-tests/bytecode-dumper/src/main/java/org/apache/flex/swf/io/SWFDumpMojo.java
index b068285..a3c9daf 100644
--- a/flexmojos-tests/bytecode-dumper/src/main/java/org/apache/flex/swf/io/SWFDumpMojo.java
+++ b/flexmojos-tests/bytecode-dumper/src/main/java/org/apache/flex/swf/io/SWFDumpMojo.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.apache.flex.swf.io;
import org.apache.maven.artifact.Artifact;