Interfacemanager-api : Checkstyle Enforcement 40/51940/5
authorEdwin Anthony <n.edwin.anthony@ericsson.com>
Thu, 16 Feb 2017 15:10:40 +0000 (20:40 +0530)
committerDavid Suarez <david.suarez.fuentes@ericsson.com>
Fri, 17 Feb 2017 07:17:27 +0000 (07:17 +0000)
Change-Id: I89250d986237ee75bb87ce99c4066c9f5e87d602
Signed-off-by: Edwin Anthony <n.edwin.anthony@ericsson.com>
interfacemanager/interfacemanager-api/pom.xml
interfacemanager/interfacemanager-api/src/main/java/org/opendaylight/genius/interfacemanager/globals/IfmConstants.java
interfacemanager/interfacemanager-api/src/main/java/org/opendaylight/genius/interfacemanager/interfaces/IInterfaceManager.java

index e188bb0465c974ac166d30dc7c78c3fae5040a85..c68370b2aeaa4ea21c9a8771e195274180bb8699 100644 (file)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!--
-Copyright © 2016 Ericsson India Global Services Pvt Ltd. and others.All rights reserved.
+Copyright © 2016, 2017 Ericsson India Global Services Pvt Ltd. and others. All rights reserved.
 
 This program and the accompanying materials are made available under the
 terms of the Eclipse Public License v1.0 which accompanies this distribution,
@@ -67,4 +67,17 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
       <version>${openflowplugin.version}</version>
     </dependency>
   </dependencies>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-checkstyle-plugin</artifactId>
+        <configuration>
+          <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+
 </project>
index 5769ec61ab85c8efb72fc5aa22a4e4c171443ca6..fc3355ff9ee826eb5f7996ce68e120bb0f803294 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2016 Ericsson India Global Services Pvt Ltd. and others.  All rights reserved.
+ * Copyright (c) 2016, 2017 Ericsson India Global Services Pvt Ltd. and others. All rights reserved.
  *
  * This program and the accompanying materials are made available under the
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
@@ -7,10 +7,10 @@
  */
 package org.opendaylight.genius.interfacemanager.globals;
 
+import java.math.BigInteger;
 import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Uri;
 import org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.TopologyId;
 
-import java.math.BigInteger;
 
 public class IfmConstants {
     public static final String OF_URI_PREFIX = "openflow:";
index ba362bb6929f665b78e26f8e18cc1c7600bb36fd..1fc67d92d950cd3496ffb87a3f642fe088573070 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2016 Ericsson India Global Services Pvt Ltd. and others.  All rights reserved.
+ * Copyright (c) 2016, 2017 Ericsson India Global Services Pvt Ltd. and others. All rights reserved.
  *
  * This program and the accompanying materials are made available under the
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
@@ -43,14 +43,14 @@ public interface IInterfaceManager {
     InterfaceInfo getInterfaceInfoFromOperationalDataStore(String interfaceName,
             InterfaceInfo.InterfaceType interfaceType);
 
-    /*
+    InterfaceInfo getInterfaceInfoFromOperationalDataStore(String interfaceName);
+
+    /**
      * This API is currently used only for CLI usage. Please be careful that this API
      * can return stale entries since it is just a cache read.
      */
     InterfaceInfo getInterfaceInfoFromOperationalDSCache(String interfaceName);
 
-    InterfaceInfo getInterfaceInfoFromOperationalDataStore(String interfaceName);
-
     Interface getInterfaceInfoFromConfigDataStore(String interfaceName);
 
     void createVLANInterface(String interfaceName, String portName, BigInteger dpId, Integer vlanId, String description,