camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acosent...@apache.org
Subject [20/28] camel git commit: Revert "Using the ootb methods for parameter retrieval."
Date Fri, 25 Nov 2016 12:17:43 GMT
Revert "Using the ootb methods for parameter retrieval."

This reverts commit 371804259a85d67ef0554b109ecd6b319a6149c9.


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

Branch: refs/heads/master
Commit: 4d69eca166878a3299f4b8d7719d5c9caf102dc8
Parents: c1c7a70
Author: Andrea Cosentino <ancosen@gmail.com>
Authored: Fri Nov 25 12:50:14 2016 +0100
Committer: Andrea Cosentino <ancosen@gmail.com>
Committed: Fri Nov 25 12:50:14 2016 +0100

----------------------------------------------------------------------
 .../org/apache/camel/component/firebase/FirebaseComponent.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/4d69eca1/components/camel-firebase/src/main/java/org/apache/camel/component/firebase/FirebaseComponent.java
----------------------------------------------------------------------
diff --git a/components/camel-firebase/src/main/java/org/apache/camel/component/firebase/FirebaseComponent.java
b/components/camel-firebase/src/main/java/org/apache/camel/component/firebase/FirebaseComponent.java
index 0f62e16..8b80a2a 100644
--- a/components/camel-firebase/src/main/java/org/apache/camel/component/firebase/FirebaseComponent.java
+++ b/components/camel-firebase/src/main/java/org/apache/camel/component/firebase/FirebaseComponent.java
@@ -1,4 +1,4 @@
-/*
+/**
  * 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.
@@ -39,8 +39,8 @@ public class FirebaseComponent extends UriEndpointComponent {
 
         FirebaseConfig firebaseConfig = new FirebaseConfig.Builder(
                 String.format("https://%s", remaining),
-                getAndRemoveParameter(parameters, "rootReference", String.class),
-                getAndRemoveParameter(parameters, "serviceAccountFile", String.class))
+                (String) parameters.get("rootReference"),
+                (String) parameters.get("serviceAccountFile"))
                 .build();
 
         firebaseConfig.init();


Mime
View raw message