flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [04/42] git commit: [flex-falcon] [refs/heads/develop] - Cleanup: - Added Apache headers - Removed @Author tag
Date Thu, 04 Jun 2015 06:06:10 GMT
Cleanup:
- Added Apache headers
- Removed @Author tag


Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/a1dae471
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/a1dae471
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/a1dae471

Branch: refs/heads/develop
Commit: a1dae4719cf6bca45a09fc90e9c4b1aff6b3acd8
Parents: 0585dd3
Author: Frédéric THOMAS <webdoublefx@gmail.com>
Authored: Sat May 30 16:52:52 2015 +0100
Committer: Frédéric THOMAS <webdoublefx@gmail.com>
Committed: Sat May 30 16:52:52 2015 +0100

----------------------------------------------------------------------
 .../compiler/clients/JSCompilerEntryPoint.java  | 24 +++++++++++---
 .../clients/problems/ProblemQueryProvider.java  | 28 ++++++++++++-----
 .../apache/flex/utils/ConfigurationUtil.java    | 33 +++++++++++++-------
 flex-compiler-oem/src/flex2/tools/CompJSC.java  | 24 +++++++++++---
 flex-compiler-oem/src/flex2/tools/MxmlJSC.java  | 26 +++++++++++----
 5 files changed, 100 insertions(+), 35 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/a1dae471/compiler.jx/src/org/apache/flex/compiler/clients/JSCompilerEntryPoint.java
----------------------------------------------------------------------
diff --git a/compiler.jx/src/org/apache/flex/compiler/clients/JSCompilerEntryPoint.java b/compiler.jx/src/org/apache/flex/compiler/clients/JSCompilerEntryPoint.java
index b30066a..534d9f5 100644
--- a/compiler.jx/src/org/apache/flex/compiler/clients/JSCompilerEntryPoint.java
+++ b/compiler.jx/src/org/apache/flex/compiler/clients/JSCompilerEntryPoint.java
@@ -1,14 +1,28 @@
+/*
+ *
+ *  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.compiler.clients;
 
 import org.apache.flex.compiler.problems.ICompilerProblem;
 
 import java.util.Set;
 
-/**
- * @author: Frederic Thomas
- * Date: 26/05/2015
- * Time: 16:56
- */
 public interface JSCompilerEntryPoint {
     public int mainNoExit(final String[] args, Set<ICompilerProblem> problems,
                           Boolean printProblems);

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/a1dae471/compiler/src/org/apache/flex/compiler/clients/problems/ProblemQueryProvider.java
----------------------------------------------------------------------
diff --git a/compiler/src/org/apache/flex/compiler/clients/problems/ProblemQueryProvider.java
b/compiler/src/org/apache/flex/compiler/clients/problems/ProblemQueryProvider.java
index dcce2cc..55cdcce 100644
--- a/compiler/src/org/apache/flex/compiler/clients/problems/ProblemQueryProvider.java
+++ b/compiler/src/org/apache/flex/compiler/clients/problems/ProblemQueryProvider.java
@@ -1,12 +1,24 @@
-package org.apache.flex.compiler.clients.problems;
+/*
+ *
+ *  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.flex.compiler.clients.problems.ProblemQuery;
+package org.apache.flex.compiler.clients.problems;
 
-/**
- * @author: Frederic Thomas
- * Date: 26/05/2015
- * Time: 15:44
- */
 public interface ProblemQueryProvider {
-	public ProblemQuery getProblemQuery();
+    public ProblemQuery getProblemQuery();
 }

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/a1dae471/compiler/src/org/apache/flex/utils/ConfigurationUtil.java
----------------------------------------------------------------------
diff --git a/compiler/src/org/apache/flex/utils/ConfigurationUtil.java b/compiler/src/org/apache/flex/utils/ConfigurationUtil.java
index 8f443c0..ea1bc10 100644
--- a/compiler/src/org/apache/flex/utils/ConfigurationUtil.java
+++ b/compiler/src/org/apache/flex/utils/ConfigurationUtil.java
@@ -1,24 +1,35 @@
+/*
+ *
+ *  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.utils;
 
 import java.io.File;
 
-/**
- * @author: Frederic Thomas
- * Date: 29/05/2015
- * Time: 17:04
- */
 public class ConfigurationUtil {
 
     // workaround for Falcon bug.
     // Input files with relative paths confuse the algorithm that extracts the root class
name.
-    public static String[] fixArgs(final String[] args)
-    {
+    public static String[] fixArgs(final String[] args) {
         String[] newArgs = args;
-        if (args.length > 1)
-        {
+        if (args.length > 1) {
             String targetPath = args[args.length - 1];
-            if (targetPath.startsWith("."))
-            {
+            if (targetPath.startsWith(".")) {
                 targetPath = FileUtils.getTheRealPathBecauseCanonicalizeDoesNotFixCase(new
File(targetPath));
                 newArgs = new String[args.length];
                 for (int i = 0; i < args.length - 1; ++i)

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/a1dae471/flex-compiler-oem/src/flex2/tools/CompJSC.java
----------------------------------------------------------------------
diff --git a/flex-compiler-oem/src/flex2/tools/CompJSC.java b/flex-compiler-oem/src/flex2/tools/CompJSC.java
index d291678..cb2106c 100644
--- a/flex-compiler-oem/src/flex2/tools/CompJSC.java
+++ b/flex-compiler-oem/src/flex2/tools/CompJSC.java
@@ -1,12 +1,26 @@
+/*
+ *
+ *  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 flex2.tools;
 
 import org.apache.flex.compiler.clients.COMPJSC;
 
-/**
- * @author: Frederic Thomas
- * Date: 25/05/2015
- * Time: 14:05
- */
 public class CompJSC extends MxmlJSC {
 
     static {

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/a1dae471/flex-compiler-oem/src/flex2/tools/MxmlJSC.java
----------------------------------------------------------------------
diff --git a/flex-compiler-oem/src/flex2/tools/MxmlJSC.java b/flex-compiler-oem/src/flex2/tools/MxmlJSC.java
index f23dc2a..c2923a1 100644
--- a/flex-compiler-oem/src/flex2/tools/MxmlJSC.java
+++ b/flex-compiler-oem/src/flex2/tools/MxmlJSC.java
@@ -1,9 +1,28 @@
+/*
+ *
+ *  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 flex2.tools;
 
-import org.apache.flex.compiler.clients.problems.ProblemQueryProvider;
 import org.apache.flex.compiler.clients.JSCompilerEntryPoint;
 import org.apache.flex.compiler.clients.MXMLJSC;
 import org.apache.flex.compiler.clients.problems.ProblemQuery;
+import org.apache.flex.compiler.clients.problems.ProblemQueryProvider;
 import org.apache.flex.compiler.driver.IBackend;
 import org.apache.flex.compiler.internal.driver.as.ASBackend;
 import org.apache.flex.compiler.internal.driver.js.amd.AMDBackend;
@@ -16,11 +35,6 @@ import java.lang.reflect.InvocationTargetException;
 import java.util.HashSet;
 import java.util.Set;
 
-/**
- * @author: Frederic Thomas
- * Date: 25/05/2015
- * Time: 14:05
- */
 public class MxmlJSC implements ProblemQueryProvider {
 
     protected static Class<? extends MXMLJSC> COMPILER = MXMLJSC.class;


Mime
View raw message