commit | a8f4e7dee1a147e70625f6e0a3a3c77c55905580 | [log] [tgz] |
---|---|---|
author | Thomas Vachuska <tom@onlab.us> | Thu Jan 08 17:31:55 2015 -0800 |
committer | Ray Milkey <ray@onlab.us> | Fri Jan 16 22:05:05 2015 +0000 |
tree | c97596bc702d5407b56a3066fb5d06a287bb80b2 | |
parent | db358086fd98854314392c3ea81119bd7d946848 [diff] [blame] |
Sketching out device driver subsystem to allow extensible device management functions to be made available to applications. Revising some implementations and adding tests. Removing fingerprint and extension concept for now. Change-Id: Id50faf29e4590b08e0c2b385ae8d4bb0c453f37e
diff --git a/core/api/src/main/java/org/onosproject/net/DefaultAnnotations.java b/core/api/src/main/java/org/onosproject/net/DefaultAnnotations.java index 514152e..a0ed261 100644 --- a/core/api/src/main/java/org/onosproject/net/DefaultAnnotations.java +++ b/core/api/src/main/java/org/onosproject/net/DefaultAnnotations.java
@@ -29,6 +29,8 @@ */ public final class DefaultAnnotations implements SparseAnnotations { + public static final Annotations EMPTY = DefaultAnnotations.builder().build(); + private final Map<String, String> map; // For serialization