camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acosent...@apache.org
Subject [2/2] camel git commit: Fixed CS
Date Thu, 24 Mar 2016 09:35:34 GMT
Fixed CS


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/8a03f0e4
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/8a03f0e4
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/8a03f0e4

Branch: refs/heads/master
Commit: 8a03f0e40c4496c8f3d806b6502fbb8d69af684e
Parents: 5511429
Author: Andrea Cosentino <ancosen@gmail.com>
Authored: Thu Mar 24 10:34:31 2016 +0100
Committer: Andrea Cosentino <ancosen@gmail.com>
Committed: Thu Mar 24 10:34:31 2016 +0100

----------------------------------------------------------------------
 .../component/infinispan/util/Condition.java    | 19 +++++++++++++---
 .../camel/component/infinispan/util/Wait.java   | 24 ++++++++++++++++----
 2 files changed, 36 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/8a03f0e4/components/camel-infinispan/src/test/java/org/apache/camel/component/infinispan/util/Condition.java
----------------------------------------------------------------------
diff --git a/components/camel-infinispan/src/test/java/org/apache/camel/component/infinispan/util/Condition.java
b/components/camel-infinispan/src/test/java/org/apache/camel/component/infinispan/util/Condition.java
index 917c6e9..bd780ab 100644
--- a/components/camel-infinispan/src/test/java/org/apache/camel/component/infinispan/util/Condition.java
+++ b/components/camel-infinispan/src/test/java/org/apache/camel/component/infinispan/util/Condition.java
@@ -1,8 +1,21 @@
-package org.apache.camel.component.infinispan.util;
-
 /**
- * @author Martin Gencur
+ * 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.camel.component.infinispan.util;
+
 public interface Condition {
     boolean isSatisfied() throws Exception;
 }

http://git-wip-us.apache.org/repos/asf/camel/blob/8a03f0e4/components/camel-infinispan/src/test/java/org/apache/camel/component/infinispan/util/Wait.java
----------------------------------------------------------------------
diff --git a/components/camel-infinispan/src/test/java/org/apache/camel/component/infinispan/util/Wait.java
b/components/camel-infinispan/src/test/java/org/apache/camel/component/infinispan/util/Wait.java
index 6806548..65fcefc 100644
--- a/components/camel-infinispan/src/test/java/org/apache/camel/component/infinispan/util/Wait.java
+++ b/components/camel-infinispan/src/test/java/org/apache/camel/component/infinispan/util/Wait.java
@@ -1,11 +1,27 @@
+/**
+ * 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.camel.component.infinispan.util;
 
 import static org.junit.Assert.assertTrue;
 
-/**
- * @author Martin Gencur
- */
-public class Wait {
+public final class Wait {
+
+    private Wait() {
+    }
 
     public static void waitFor(Condition ec, long timeout) {
         waitFor(ec, timeout, 10);


Mime
View raw message