CCSDK-1559-making two final fields as static too 91/92691/1
authorThugutla Sailakshmi <tsaila10@in.ibm.com>
Mon, 5 Aug 2019 14:39:46 +0000 (20:09 +0530)
committerThugutla Sailakshmi <tsaila10@in.ibm.com>
Mon, 5 Aug 2019 14:40:10 +0000 (20:10 +0530)
making two final fields as static too

Issue-ID: CCSDK-1559
Change-Id: I93fe8b4f16270f17c01f1ad80b43a6be1da9fdc6
Signed-off-by: Thugutla Sailakshmi <tsaila10@in.ibm.com>
message-router/publisher/provider/src/main/java/org/onap/ccsdk/sli/adaptors/messagerouter/publisher/provider/impl/PublisherApiImpl.java

index 58d0bc9..4efb77c 100755 (executable)
@@ -1,3 +1,25 @@
+/**\r
+ * ============LICENSE_START====================================================\r
+ * org.onap.aaf\r
+ * ===========================================================================\r
+ * Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.\r
+ *\r
+ * Modifications Copyright (C) 2019 IBM.\r
+ * ===========================================================================\r
+ * Licensed under the Apache License, Version 2.0 (the "License");\r
+ * you may not use this file except in compliance with the License.\r
+ * You may obtain a copy of the License at\r
+ * \r
+ *      http://www.apache.org/licenses/LICENSE-2.0\r
+ * \r
+ * Unless required by applicable law or agreed to in writing, software\r
+ * distributed under the License is distributed on an "AS IS" BASIS,\r
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+ * See the License for the specific language governing permissions and\r
+ * limitations under the License.\r
+ * ============LICENSE_END====================================================\r
+ *\r
+ */\r
 package org.onap.ccsdk.sli.adaptors.messagerouter.publisher.provider.impl;\r
 \r
 import java.io.BufferedReader;\r
@@ -16,8 +38,8 @@ import org.slf4j.LoggerFactory;
 \r
 public class PublisherApiImpl implements PublisherApi {\r
        private static final Logger logger = LoggerFactory.getLogger(PublisherApiImpl.class);\r
-       protected final Integer DEFAULT_CONNECT_TIMEOUT = 30000; // will be treated as 30 seconds\r
-       protected final Integer DEFAULT_READ_TIMEOUT = 180000; // will be treated as 3 minutes\r
+       protected static final Integer DEFAULT_CONNECT_TIMEOUT = 30000; // will be treated as 30 seconds\r
+       protected static final Integer DEFAULT_READ_TIMEOUT = 180000; // will be treated as 3 minutes\r
        private String authorizationString;\r
        protected Integer connectTimeout;\r
        protected Integer readTimeout;\r