mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
Make Java "struct" constructors public for testing/simulating (#195)
This commit is contained in:
committed by
Peter Johnson
parent
9f97cd61bf
commit
42facbb07e
@@ -7,7 +7,7 @@ public class ConnectionInfo {
|
||||
public final long last_update;
|
||||
public final int protocol_version;
|
||||
|
||||
ConnectionInfo(String remote_id, String remote_ip, int remote_port, long last_update, int protocol_version) {
|
||||
public ConnectionInfo(String remote_id, String remote_ip, int remote_port, long last_update, int protocol_version) {
|
||||
this.remote_id = remote_id;
|
||||
this.remote_ip = remote_ip;
|
||||
this.remote_port = remote_port;
|
||||
|
||||
@@ -6,7 +6,7 @@ public class EntryInfo {
|
||||
public final int flags;
|
||||
public final long last_change;
|
||||
|
||||
EntryInfo(String name, int type, int flags, long last_change) {
|
||||
public EntryInfo(String name, int type, int flags, long last_change) {
|
||||
this.name = name;
|
||||
this.type = type;
|
||||
this.flags = flags;
|
||||
|
||||
Reference in New Issue
Block a user