Skip to content

Commit

Permalink
Discard changes to generated files
Browse files Browse the repository at this point in the history
  • Loading branch information
srimanachanta committed Dec 2, 2023
1 parent 9f975ce commit 5131136
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1009,5 +1009,5 @@ public int hashCode() {
}

private final Topic m_topic;
private final int m_handle;
protected int m_handle;
}
Original file line number Diff line number Diff line change
Expand Up @@ -890,7 +890,7 @@ private void startThread() {
} catch (Throwable throwable) {
System.err.println(
"Unhandled exception during listener callback: "
+ throwable);
+ throwable.toString());
throwable.printStackTrace();
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ public String[] getStringArray() {
* @return The entry value
*/
public static NetworkTableValue makeBoolean(boolean value) {
return new NetworkTableValue(NetworkTableType.kBoolean, value);
return new NetworkTableValue(NetworkTableType.kBoolean, Boolean.valueOf(value));
}

/**
Expand All @@ -347,7 +347,7 @@ public static NetworkTableValue makeBoolean(boolean value) {
* @return The entry value
*/
public static NetworkTableValue makeBoolean(boolean value, long time) {
return new NetworkTableValue(NetworkTableType.kBoolean, value, time);
return new NetworkTableValue(NetworkTableType.kBoolean, Boolean.valueOf(value), time);
}

/**
Expand All @@ -357,7 +357,7 @@ public static NetworkTableValue makeBoolean(boolean value, long time) {
* @return The entry value
*/
public static NetworkTableValue makeInteger(long value) {
return new NetworkTableValue(NetworkTableType.kInteger, value);
return new NetworkTableValue(NetworkTableType.kInteger, Long.valueOf(value));
}

/**
Expand All @@ -368,7 +368,7 @@ public static NetworkTableValue makeInteger(long value) {
* @return The entry value
*/
public static NetworkTableValue makeInteger(long value, long time) {
return new NetworkTableValue(NetworkTableType.kInteger, value, time);
return new NetworkTableValue(NetworkTableType.kInteger, Long.valueOf(value), time);
}

/**
Expand All @@ -378,7 +378,7 @@ public static NetworkTableValue makeInteger(long value, long time) {
* @return The entry value
*/
public static NetworkTableValue makeFloat(float value) {
return new NetworkTableValue(NetworkTableType.kFloat, value);
return new NetworkTableValue(NetworkTableType.kFloat, Float.valueOf(value));
}

/**
Expand All @@ -389,7 +389,7 @@ public static NetworkTableValue makeFloat(float value) {
* @return The entry value
*/
public static NetworkTableValue makeFloat(float value, long time) {
return new NetworkTableValue(NetworkTableType.kFloat, value, time);
return new NetworkTableValue(NetworkTableType.kFloat, Float.valueOf(value), time);
}

/**
Expand All @@ -399,7 +399,7 @@ public static NetworkTableValue makeFloat(float value, long time) {
* @return The entry value
*/
public static NetworkTableValue makeDouble(double value) {
return new NetworkTableValue(NetworkTableType.kDouble, value);
return new NetworkTableValue(NetworkTableType.kDouble, Double.valueOf(value));
}

/**
Expand All @@ -410,7 +410,7 @@ public static NetworkTableValue makeDouble(double value) {
* @return The entry value
*/
public static NetworkTableValue makeDouble(double value, long time) {
return new NetworkTableValue(NetworkTableType.kDouble, value, time);
return new NetworkTableValue(NetworkTableType.kDouble, Double.valueOf(value), time);
}

/**
Expand Down

0 comments on commit 5131136

Please sign in to comment.