fluo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ktur...@apache.org
Subject incubator-fluo git commit: Clean up build warnings and errors
Date Tue, 26 Jul 2016 14:26:05 GMT
Repository: incubator-fluo
Updated Branches:
  refs/heads/master b30c9d76f -> 19b64c115


Clean up build warnings and errors


Project: http://git-wip-us.apache.org/repos/asf/incubator-fluo/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-fluo/commit/19b64c11
Tree: http://git-wip-us.apache.org/repos/asf/incubator-fluo/tree/19b64c11
Diff: http://git-wip-us.apache.org/repos/asf/incubator-fluo/diff/19b64c11

Branch: refs/heads/master
Commit: 19b64c115809930a912992684788de8b675abb96
Parents: b30c9d7
Author: Christopher Tubbs <ctubbsii@apache.org>
Authored: Mon Jul 25 17:50:20 2016 -0400
Committer: Christopher Tubbs <ctubbsii@apache.org>
Committed: Mon Jul 25 17:50:43 2016 -0400

----------------------------------------------------------------------
 .../src/main/java/org/apache/fluo/api/client/SnapshotBase.java   | 4 ++--
 .../test/java/org/apache/fluo/integration/TestTransaction.java   | 1 +
 .../apache/fluo/integration/impl/WeakNotificationOverlapIT.java  | 1 -
 modules/mapreduce/pom.xml                                        | 1 -
 .../java/org/apache/fluo/mapreduce/FluoKeyValueGenerator.java    | 3 ---
 .../main/java/org/apache/fluo/mapreduce/FluoOutputFormat.java    | 2 +-
 pom.xml                                                          | 2 --
 7 files changed, 4 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-fluo/blob/19b64c11/modules/api/src/main/java/org/apache/fluo/api/client/SnapshotBase.java
----------------------------------------------------------------------
diff --git a/modules/api/src/main/java/org/apache/fluo/api/client/SnapshotBase.java b/modules/api/src/main/java/org/apache/fluo/api/client/SnapshotBase.java
index 79e1cef..6b162f2 100644
--- a/modules/api/src/main/java/org/apache/fluo/api/client/SnapshotBase.java
+++ b/modules/api/src/main/java/org/apache/fluo/api/client/SnapshotBase.java
@@ -61,7 +61,7 @@ public interface SnapshotBase {
    * a {@link Span} and/or with a subset of columns. Below is simple example of building
a scanner.
    * 
    * <pre>
-   * {@code
+   * <code>
    *   Transaction tx = ...;
    *   Span span = Span.exact("row4");
    *   Column col1 = new Column("fam1","qual1");
@@ -72,7 +72,7 @@ public interface SnapshotBase {
    *   for(RowColumnValue rcv : cs) {
    *     //do stuff with rcv
    *   }
-   * }
+   * </code>
    * </pre>
    *
    * <p>

http://git-wip-us.apache.org/repos/asf/incubator-fluo/blob/19b64c11/modules/integration/src/test/java/org/apache/fluo/integration/TestTransaction.java
----------------------------------------------------------------------
diff --git a/modules/integration/src/test/java/org/apache/fluo/integration/TestTransaction.java
b/modules/integration/src/test/java/org/apache/fluo/integration/TestTransaction.java
index ceda193..62b3ebe 100644
--- a/modules/integration/src/test/java/org/apache/fluo/integration/TestTransaction.java
+++ b/modules/integration/src/test/java/org/apache/fluo/integration/TestTransaction.java
@@ -80,6 +80,7 @@ public class TestTransaction implements TransactionBase {
     throw new RuntimeException("No notification found");
   }
 
+  @SuppressWarnings("resource")
   public TestTransaction(Environment env, TransactorNode transactor) {
     this(new TransactionImpl(env).setTransactor(transactor), env);
   }

http://git-wip-us.apache.org/repos/asf/incubator-fluo/blob/19b64c11/modules/integration/src/test/java/org/apache/fluo/integration/impl/WeakNotificationOverlapIT.java
----------------------------------------------------------------------
diff --git a/modules/integration/src/test/java/org/apache/fluo/integration/impl/WeakNotificationOverlapIT.java
b/modules/integration/src/test/java/org/apache/fluo/integration/impl/WeakNotificationOverlapIT.java
index 07ff45f..f424398 100644
--- a/modules/integration/src/test/java/org/apache/fluo/integration/impl/WeakNotificationOverlapIT.java
+++ b/modules/integration/src/test/java/org/apache/fluo/integration/impl/WeakNotificationOverlapIT.java
@@ -20,7 +20,6 @@ import java.util.Iterator;
 import java.util.List;
 import java.util.Map.Entry;
 
-import com.google.common.primitives.Ints;
 import org.apache.accumulo.core.client.Scanner;
 import org.apache.accumulo.core.data.Key;
 import org.apache.accumulo.core.data.Value;

http://git-wip-us.apache.org/repos/asf/incubator-fluo/blob/19b64c11/modules/mapreduce/pom.xml
----------------------------------------------------------------------
diff --git a/modules/mapreduce/pom.xml b/modules/mapreduce/pom.xml
index 56b3fdd..22deb22 100644
--- a/modules/mapreduce/pom.xml
+++ b/modules/mapreduce/pom.xml
@@ -67,7 +67,6 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-dependency-plugin</artifactId>
-        <version>2.10</version>
         <executions>
           <execution>
             <id>analyze</id>

http://git-wip-us.apache.org/repos/asf/incubator-fluo/blob/19b64c11/modules/mapreduce/src/main/java/org/apache/fluo/mapreduce/FluoKeyValueGenerator.java
----------------------------------------------------------------------
diff --git a/modules/mapreduce/src/main/java/org/apache/fluo/mapreduce/FluoKeyValueGenerator.java
b/modules/mapreduce/src/main/java/org/apache/fluo/mapreduce/FluoKeyValueGenerator.java
index 56fa8e6..1e959ff 100644
--- a/modules/mapreduce/src/main/java/org/apache/fluo/mapreduce/FluoKeyValueGenerator.java
+++ b/modules/mapreduce/src/main/java/org/apache/fluo/mapreduce/FluoKeyValueGenerator.java
@@ -39,8 +39,6 @@ import org.apache.hadoop.io.Text;
  * <p>
  * This class is designed to be reused inorder to avoid object creation in a map reduce job.
  *
- * <p>
- *
  * <pre>
  * <code>
  *   // this could be shared between calls to map or reduce, to avoid creating for each call.
@@ -63,7 +61,6 @@ import org.apache.hadoop.io.Text;
  * </code>
  * </pre>
  *
- * <p>
  */
 
 public class FluoKeyValueGenerator {

http://git-wip-us.apache.org/repos/asf/incubator-fluo/blob/19b64c11/modules/mapreduce/src/main/java/org/apache/fluo/mapreduce/FluoOutputFormat.java
----------------------------------------------------------------------
diff --git a/modules/mapreduce/src/main/java/org/apache/fluo/mapreduce/FluoOutputFormat.java
b/modules/mapreduce/src/main/java/org/apache/fluo/mapreduce/FluoOutputFormat.java
index a5b2b28..b282e08 100644
--- a/modules/mapreduce/src/main/java/org/apache/fluo/mapreduce/FluoOutputFormat.java
+++ b/modules/mapreduce/src/main/java/org/apache/fluo/mapreduce/FluoOutputFormat.java
@@ -110,7 +110,7 @@ public class FluoOutputFormat extends OutputFormat<Loader, NullWritable>
{
   }
 
   /**
-   * Call this method to initialize the Fluo connection props and {@link LoaderExecutorImpl}
props
+   * Call this method to initialize the Fluo connection props
    *
    * @param conf Job configuration
    * @param props Use {@link org.apache.fluo.api.config.FluoConfiguration} to set props

http://git-wip-us.apache.org/repos/asf/incubator-fluo/blob/19b64c11/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 9904e49..b5d388a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -20,7 +20,6 @@
     <artifactId>fluo-parent</artifactId>
     <version>1-SNAPSHOT</version>
   </parent>
-  <groupId>org.apache.fluo</groupId>
   <artifactId>fluo</artifactId>
   <version>1.0.0-incubating-SNAPSHOT</version>
   <packaging>pom</packaging>
@@ -334,7 +333,6 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-dependency-plugin</artifactId>
-        <version>2.10</version>
         <executions>
           <execution>
             <id>analyze</id>


Mime
View raw message