Fix checkstyle
[openflowplugin.git] / extension / openflowplugin-extension-api / src / main / java / org / opendaylight / openflowplugin / extension / api / GroupingLooseResolver.java
index 627fd5f613143461782cdc9625bb43ee72ac6e54..6fec824462b3c3c1973ac9c9bb775e0243e077f2 100644 (file)
@@ -1,4 +1,4 @@
-/**
+/*
  * Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
  *
  * This program and the accompanying materials are made available under the
@@ -68,7 +68,8 @@ public class GroupingLooseResolver<G> {
     /**
      * Gets the extension for the give data.
      *
-     * @param data expected to match <tt>&lt;T extends Augmentable&lt;T&gt;&gt;</tt>
+     * @param data parameter(data) for getExtension
+     * @param <T> type of data
      * @return shared grouping
      */
     @SuppressWarnings("unchecked")
@@ -87,7 +88,7 @@ public class GroupingLooseResolver<G> {
 
         for (Class<? extends Augmentation<?>> cls : classes) {
             Augmentation<T> potential = guessData
-                    .getAugmentation((Class<Augmentation<T>>) cls);
+                    .augmentation((Class<Augmentation<T>>) cls);
             if (potential != null) {
                 return Optional.of((G) potential);
             }