File tree Expand file tree Collapse file tree 1 file changed +2
-16
lines changed
libraries/networking/src/main/java/net/ornithemc/osl/networking/api Expand file tree Collapse file tree 1 file changed +2
-16
lines changed Original file line number Diff line number Diff line change @@ -22,25 +22,11 @@ public final class Channels {
2222 */
2323 public static final int MAX_LENGTH_DESCRIPTION = Byte .MAX_VALUE ;
2424
25- /**
26- * Construct a channel with the default namespace and the given description.
27- *
28- * @deprecated
29- * Use {@link Channels#make(String)} instead.
30- */
31- @ Deprecated
32- public static Channel from (String description ) {
25+ static Channel from (String description ) {
3326 return from (DEFAULT_NAMESPACE , description );
3427 }
3528
36- /**
37- * Construct a channel from the given namespace and description.
38- *
39- * @deprecated
40- * Use {@link Channels#make(String, String)} instead.
41- */
42- @ Deprecated
43- public static Channel from (String namespace , String description ) {
29+ static Channel from (String namespace , String description ) {
4430 return new Channel (namespace , description );
4531 }
4632
You can’t perform that action at this time.
0 commit comments