ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From avija...@apache.org
Subject ambari git commit: Revert "Fix unnecessary type casting in Test"
Date Tue, 15 Dec 2015 23:59:05 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk f3ab77ca1 -> e3e91155a


Revert "Fix unnecessary type casting in Test"

This reverts commit f3ab77ca197f54f6409b33309f398ea7e37e409f.


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

Branch: refs/heads/trunk
Commit: e3e91155adb831bb487133b16c7ab78a230a713f
Parents: f3ab77c
Author: Aravindan Vijayan <avijayan@hortonworks.com>
Authored: Tue Dec 15 15:57:44 2015 -0800
Committer: Aravindan Vijayan <avijayan@hortonworks.com>
Committed: Tue Dec 15 15:57:44 2015 -0800

----------------------------------------------------------------------
 .../controller/metrics/timeline/cache/TimelineMetricCacheTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/e3e91155/ambari-server/src/test/java/org/apache/ambari/server/controller/metrics/timeline/cache/TimelineMetricCacheTest.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/test/java/org/apache/ambari/server/controller/metrics/timeline/cache/TimelineMetricCacheTest.java
b/ambari-server/src/test/java/org/apache/ambari/server/controller/metrics/timeline/cache/TimelineMetricCacheTest.java
index 05f8aec..e520cf3 100644
--- a/ambari-server/src/test/java/org/apache/ambari/server/controller/metrics/timeline/cache/TimelineMetricCacheTest.java
+++ b/ambari-server/src/test/java/org/apache/ambari/server/controller/metrics/timeline/cache/TimelineMetricCacheTest.java
@@ -419,7 +419,7 @@ public class TimelineMetricCacheTest {
     long year = 365 * day;
 
     //Original Values
-    Map<String, TimelineMetric> valueMap = new HashMap();
+    Map<String, TimelineMetric> valueMap = new HashMap<String, TimelineMetric>();
     TimelineMetric timelineMetric = new TimelineMetric();
     timelineMetric.setMetricName("cpu_user");
     timelineMetric.setAppId("app1");


Mime
View raw message