Make OSGiModuleInfoSnapshot generation unsigned
[mdsal.git] / dom / mdsal-dom-schema-osgi / src / main / java / org / opendaylight / mdsal / dom / schema / osgi / OSGiModuleInfoSnapshot.java
index 8f16b23b274ba0f8c71dddf5119ffcadb77ef9d8..f68b197d554ed0b381a7f350f0471835c05c6244 100644 (file)
@@ -8,6 +8,8 @@
 package org.opendaylight.mdsal.dom.schema.osgi;
 
 import com.google.common.annotations.Beta;
+import com.google.common.primitives.UnsignedLong;
+import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.binding.runtime.api.ModuleInfoSnapshot;
 
 /**
@@ -16,5 +18,5 @@ import org.opendaylight.binding.runtime.api.ModuleInfoSnapshot;
 @Beta
 public interface OSGiModuleInfoSnapshot extends ModuleInfoSnapshot {
 
-    long getGeneration();
+    @NonNull UnsignedLong getGeneration();
 }