Fix various warnings
[netconf.git] / netconf / mdsal-netconf-connector / src / test / java / org / opendaylight / netconf / mdsal / connector / ops / get / FilterContentValidatorTest.java
index 2156270b803b8c31b995b161b9561f246bae9d30..8ee3e38a33964a06099f40cbc53d50f20fb1c16e 100644 (file)
@@ -145,8 +145,8 @@ public class FilterContentValidatorTest {
         final QName qName = QName.create(input);
         if (qName.getModule().getNamespace() != null) {
             return qName;
-        } else {
-            return QName.create(Preconditions.checkNotNull(prev), input);
         }
+
+        return QName.create(Preconditions.checkNotNull(prev), input);
     }
 }