Skip to content

Commit

Permalink
Build: Fix some deprecation warnings all over
Browse files Browse the repository at this point in the history
  • Loading branch information
zzzi2p committed Nov 28, 2024
1 parent a1949bf commit 37cdade
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ public NotificationHandler getNotificationHandler(final String notificationName)
/**
* @deprecated
*/
@Deprecated
public JSONRPC2Response dispatch(final JSONRPC2Request request, final MessageContext requestCtx) {

return process(request, requestCtx);
Expand Down Expand Up @@ -209,6 +210,7 @@ public JSONRPC2Response process(final JSONRPC2Request request, final MessageCont
/**
* @deprecated
*/
@Deprecated
public void dispatch(final JSONRPC2Notification notification, final MessageContext notificationCtx) {

process(notification, notificationCtx);
Expand Down
4 changes: 2 additions & 2 deletions apps/i2psnark/java/src/org/klomp/snark/Snark.java
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ else if ("".equals(line) || "help".equals(line))
/**
* from main() via parseArguments() single torrent
*
* @deprecated unused
* unused
*/
/****
Snark(I2PSnarkUtil util, String torrent, String ip, int user_port,
Expand All @@ -264,7 +264,7 @@ else if ("".equals(line) || "help".equals(line))
/**
* single torrent - via router
*
* @deprecated unused
* unused
*/
/****
public Snark(I2PAppContext ctx, Properties opts, String torrent,
Expand Down
1 change: 1 addition & 0 deletions apps/jrobin/java/src/org/rrd4j/data/DataProcessor.java
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ public void setTimeZone(TimeZone tz) {
* @return Ending timestamp in seconds
* @deprecated Uses {@link #getEndTime()} instead.
*/
@Deprecated
public long getEndingTimestamp() {
return tEnd;
}
Expand Down
2 changes: 1 addition & 1 deletion core/java/src/org/json/simple/Yylex.java

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 37cdade

Please sign in to comment.