zookeeper-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From si...@apache.org
Subject svn commit: r1631943 - in /zookeeper/bookkeeper/trunk: CHANGES.txt bookkeeper-stats-providers/twitter-ostrich-provider/src/main/java/org/apache/bookkeeper/stats/twitter/ostrich/OstrichProvider.java pom.xml
Date Wed, 15 Oct 2014 05:27:02 GMT
Author: sijie
Date: Wed Oct 15 05:27:01 2014
New Revision: 1631943

URL: http://svn.apache.org/r1631943
Log:
BOOKKEEPER-793: Move to java 7

Modified:
    zookeeper/bookkeeper/trunk/CHANGES.txt
    zookeeper/bookkeeper/trunk/bookkeeper-stats-providers/twitter-ostrich-provider/src/main/java/org/apache/bookkeeper/stats/twitter/ostrich/OstrichProvider.java
    zookeeper/bookkeeper/trunk/pom.xml

Modified: zookeeper/bookkeeper/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/zookeeper/bookkeeper/trunk/CHANGES.txt?rev=1631943&r1=1631942&r2=1631943&view=diff
==============================================================================
--- zookeeper/bookkeeper/trunk/CHANGES.txt (original)
+++ zookeeper/bookkeeper/trunk/CHANGES.txt Wed Oct 15 05:27:01 2014
@@ -10,6 +10,8 @@ Trunk (unreleased changes)
 
     BUGFIXES:
 
+      BOOKKEEPER-793: Move to java 7
+
     IMPROVEMENTS:
 
 Release 4.3.0 - 2014-10-03

Modified: zookeeper/bookkeeper/trunk/bookkeeper-stats-providers/twitter-ostrich-provider/src/main/java/org/apache/bookkeeper/stats/twitter/ostrich/OstrichProvider.java
URL: http://svn.apache.org/viewvc/zookeeper/bookkeeper/trunk/bookkeeper-stats-providers/twitter-ostrich-provider/src/main/java/org/apache/bookkeeper/stats/twitter/ostrich/OstrichProvider.java?rev=1631943&r1=1631942&r2=1631943&view=diff
==============================================================================
--- zookeeper/bookkeeper/trunk/bookkeeper-stats-providers/twitter-ostrich-provider/src/main/java/org/apache/bookkeeper/stats/twitter/ostrich/OstrichProvider.java
(original)
+++ zookeeper/bookkeeper/trunk/bookkeeper-stats-providers/twitter-ostrich-provider/src/main/java/org/apache/bookkeeper/stats/twitter/ostrich/OstrichProvider.java
Wed Oct 15 05:27:01 2014
@@ -38,10 +38,10 @@ public class OstrichProvider implements 
 
     private com.twitter.ostrich.admin.AdminHttpService statsExporter = null;
 
-    private static <T> List<T> list(T ... ts) {
-        List<T> result = List$.MODULE$.empty();
+    private static List<Duration> list(Duration... ts) {
+        List<Duration> result = List$.MODULE$.empty();
         for (int i = ts.length; i > 0; i--) {
-            result = new $colon$colon<T>(ts[i-1], result);
+            result = new $colon$colon<Duration>(ts[i-1], result);
         }
         return result;
     }

Modified: zookeeper/bookkeeper/trunk/pom.xml
URL: http://svn.apache.org/viewvc/zookeeper/bookkeeper/trunk/pom.xml?rev=1631943&r1=1631942&r2=1631943&view=diff
==============================================================================
--- zookeeper/bookkeeper/trunk/pom.xml (original)
+++ zookeeper/bookkeeper/trunk/pom.xml Wed Oct 15 05:27:01 2014
@@ -62,8 +62,8 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.0</version>
         <configuration>
-          <source>1.6</source>
-          <target>1.6</target>
+          <source>1.7</source>
+          <target>1.7</target>
           <compilerArguments>
 	    <Werror />
 	    <Xlint:deprecation />



Mime
View raw message