Author: ningjiang
Date: Thu Apr 28 00:14:32 2011
New Revision: 1097294
URL: http://svn.apache.org/viewvc?rev=1097294&view=rev
Log:
Fixed CS errors in camel-http
Modified:
camel/trunk/components/camel-http/src/main/java/org/apache/camel/component/http/SSLContextParametersSecureProtocolSocketFactory.java
Modified:
camel/trunk/components/camel-http/src/main/java/org/apache/camel/component/http/SSLContextParametersSecureProtocolSocketFactory.java
URL:
http://svn.apache.org/viewvc/camel/trunk/components/camel-http/src/main/java/org/apache/camel/component/http/SSLContextParametersSecureProtocolSocketFactory.java?rev=1097294&r1=1097293&r2=1097294&view=diff
==============================================================================
---
camel/trunk/components/camel-http/src/main/java/org/apache/camel/component/http/SSLContextParametersSecureProtocolSocketFactory.java
(original)
+++
camel/trunk/components/camel-http/src/main/java/org/apache/camel/component/http/SSLContextParametersSecureProtocolSocketFactory.java
Thu Apr 28 00:14:32 2011
@@ -1,3 +1,19 @@
+/**
+ * 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.http;
import java.io.IOException;
@@ -22,9 +38,9 @@ import org.apache.commons.httpclient.pro
*/
public class SSLContextParametersSecureProtocolSocketFactory implements
SecureProtocolSocketFactory {
- protected SSLSocketFactory factory = null;
+ protected SSLSocketFactory factory;
- protected SSLContext context = null;
+ protected SSLContext context;
/**
* Creates a new instance using the provided factory.