BUG-5222: do not use reflection on Optional
[controller.git] / opendaylight / md-sal / sal-dom-xsql / src / main / java / org / opendaylight / controller / md / sal / dom / xsql / XSQLODLUtils.java
index a42e47ba005cd9ee3451bad18491a6cff714e6f6..834e273168961acef0633496c6a1cb15d34f752b 100644 (file)
@@ -209,7 +209,7 @@ public class XSQLODLUtils {
     }
 
 
-    public static Object get(final Object o, final String name) {
+    private static Object get(final Object o, final String name) {
         try {
             Class<?> c = o.getClass();
             Field f = findField(c, name);