You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@edgent.apache.org by dj...@apache.org on 2016/03/30 15:06:24 UTC

incubator-quarks git commit: Apply license to quarks_overview.html and adjust static import ordering

Repository: incubator-quarks
Updated Branches:
  refs/heads/master 1b8747c21 -> 9e13ad781


Apply license to quarks_overview.html and adjust static import ordering


Project: http://git-wip-us.apache.org/repos/asf/incubator-quarks/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-quarks/commit/9e13ad78
Tree: http://git-wip-us.apache.org/repos/asf/incubator-quarks/tree/9e13ad78
Diff: http://git-wip-us.apache.org/repos/asf/incubator-quarks/diff/9e13ad78

Branch: refs/heads/master
Commit: 9e13ad7818565539120a0d2b6878ce9fbe124ee2
Parents: 1b8747c
Author: Cazen <Ca...@korea.com>
Authored: Wed Mar 30 20:59:57 2016 +0900
Committer: Cazen <Ca...@korea.com>
Committed: Wed Mar 30 20:59:57 2016 +0900

----------------------------------------------------------------------
 .../providers/dev/DevelopmentProviderTest.java   |  6 +++---
 quarks_overview.html                             | 19 +++++++++++++++++++
 .../topology/spi/graph/TWindowTimeImpl.java      | 12 ++++++------
 3 files changed, 28 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-quarks/blob/9e13ad78/providers/development/src/test/java/quarks/test/providers/dev/DevelopmentProviderTest.java
----------------------------------------------------------------------
diff --git a/providers/development/src/test/java/quarks/test/providers/dev/DevelopmentProviderTest.java b/providers/development/src/test/java/quarks/test/providers/dev/DevelopmentProviderTest.java
index c23be7b..9d5ed8f 100644
--- a/providers/development/src/test/java/quarks/test/providers/dev/DevelopmentProviderTest.java
+++ b/providers/development/src/test/java/quarks/test/providers/dev/DevelopmentProviderTest.java
@@ -18,6 +18,9 @@ under the License.
 */
 package quarks.test.providers.dev;
 
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertTrue;
+
 import org.junit.Test;
 import quarks.graph.Graph;
 import quarks.graph.Vertex;
@@ -30,9 +33,6 @@ import quarks.topology.tester.Condition;
 
 import java.util.Collection;
 
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertTrue;
-
 public class DevelopmentProviderTest extends TopologyAbstractTest implements DevelopmentTestSetup {
 
     // DevelopmentProvider inserts CounterOp metric oplets into the graph

http://git-wip-us.apache.org/repos/asf/incubator-quarks/blob/9e13ad78/quarks_overview.html
----------------------------------------------------------------------
diff --git a/quarks_overview.html b/quarks_overview.html
index 1da843e..38c2245 100644
--- a/quarks_overview.html
+++ b/quarks_overview.html
@@ -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.
+-->
+
 <body>
 Quarks provides an programming model and runtime for executing streaming
 analytics at the <i>edge</i>.

http://git-wip-us.apache.org/repos/asf/incubator-quarks/blob/9e13ad78/spi/topology/src/main/java/quarks/topology/spi/graph/TWindowTimeImpl.java
----------------------------------------------------------------------
diff --git a/spi/topology/src/main/java/quarks/topology/spi/graph/TWindowTimeImpl.java b/spi/topology/src/main/java/quarks/topology/spi/graph/TWindowTimeImpl.java
index a9aa11d..8565ace 100644
--- a/spi/topology/src/main/java/quarks/topology/spi/graph/TWindowTimeImpl.java
+++ b/spi/topology/src/main/java/quarks/topology/spi/graph/TWindowTimeImpl.java
@@ -18,6 +18,12 @@ under the License.
 */
 package quarks.topology.spi.graph;
 
+import static quarks.window.Policies.alwaysInsert;
+import static quarks.window.Policies.evictOlderWithProcess;
+import static quarks.window.Policies.insertionTimeList;
+import static quarks.window.Policies.processOnInsert;
+import static quarks.window.Policies.scheduleEvictIfEmpty;
+
 import quarks.function.BiFunction;
 import quarks.function.Function;
 import quarks.function.Functions;
@@ -32,12 +38,6 @@ import java.util.ArrayList;
 import java.util.List;
 import java.util.concurrent.TimeUnit;
 
-import static quarks.window.Policies.alwaysInsert;
-import static quarks.window.Policies.evictOlderWithProcess;
-import static quarks.window.Policies.insertionTimeList;
-import static quarks.window.Policies.processOnInsert;
-import static quarks.window.Policies.scheduleEvictIfEmpty;
-
 public class TWindowTimeImpl<T, K> extends AbstractTWindow<T, K> {
     private long time;
     private TimeUnit unit;