Committed by
Gerrit Code Review
Deprecated unused NetTools class
Change-Id: I5b0a125461eedc4185989a821ccd9afd6a81a82c
Showing
1 changed file
with
5 additions
and
0 deletions
... | @@ -17,7 +17,10 @@ package org.onosproject.net; | ... | @@ -17,7 +17,10 @@ package org.onosproject.net; |
17 | 17 | ||
18 | /** | 18 | /** |
19 | * Networking domain tools. | 19 | * Networking domain tools. |
20 | + * | ||
21 | + * @deprecated in Hummingbird release | ||
20 | */ | 22 | */ |
23 | +@Deprecated | ||
21 | public final class NetTools { | 24 | public final class NetTools { |
22 | 25 | ||
23 | private NetTools() { | 26 | private NetTools() { |
... | @@ -30,7 +33,9 @@ public final class NetTools { | ... | @@ -30,7 +33,9 @@ public final class NetTools { |
30 | * | 33 | * |
31 | * @param dpid the DPID string to convert | 34 | * @param dpid the DPID string to convert |
32 | * @return the URI string for this device | 35 | * @return the URI string for this device |
36 | + * @deprecated in Hummingbird release | ||
33 | */ | 37 | */ |
38 | + @Deprecated | ||
34 | public static String dpidToUri(String dpid) { | 39 | public static String dpidToUri(String dpid) { |
35 | return "of:" + dpid.replace(":", ""); | 40 | return "of:" + dpid.replace(":", ""); |
36 | } | 41 | } | ... | ... |
-
Please register or login to post a comment