[DMAAP-CLIENT] First sonar issues review part2
[dmaap/messagerouter/dmaapclient.git] / src / main / java / org / onap / dmaap / mr / client / ProtocolType.java
@@ -2,13 +2,13 @@
  *  ============LICENSE_START=======================================================
  *  org.onap.dmaap
  *  ================================================================================
- *  Copyright © 2017 AT&T Intellectual Property. All rights reserved.
+ *  Copyright © 2021 Orange Intellectual Property. All rights reserved.
  *  ================================================================================
  *  Licensed 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.
  *  ============LICENSE_END=========================================================
  *
  *  ECOMP is a trademark and service mark of AT&T Intellectual Property.
- *  
+ *
  *******************************************************************************/
-/**
- * 
- */
-package org.onap.dmaap.mr.test.clients;
+
+package org.onap.dmaap.mr.client;
 
 /**
- * @author author
+ * Enumeration with all Protocol we can use.
+ *
+ * @author sliard
  *
  */
-public enum ProtocolTypeConstants {
+public enum ProtocolType {
 
-       DME2("DME2"), AAF_AUTH("HTTPAAF"), AUTH_KEY("HTTPAUTH"), HTTPNOAUTH("HTTPNOAUTH");
+    DME2("DME2"),
+    AAF_AUTH("HTTPAAF"),
+    AUTH_KEY("HTTPAUTH"),
+    HTTPNOAUTH("HTTPNOAUTH");
 
-       private String value;
+    private String value;
 
-       private ProtocolTypeConstants(String value) {
-               this.value = value;
-       }
+    ProtocolType(String value) {
+        this.value = value;
+    }
 
-       public String getValue() {
-               return value;
-       }
+    public String getValue() {
+        return value;
+    }
 }