Skip to content
This repository has been archived by the owner on Sep 21, 2020. It is now read-only.

Commit

Permalink
Make Java "struct" constructors public for testing/simulating (#195)
Browse files Browse the repository at this point in the history
  • Loading branch information
AustinShalit authored and PeterJohnson committed Apr 30, 2017
1 parent 9f97cd6 commit 42facbb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 42facbb

Please sign in to comment.