I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 17f72648 authored by zzz's avatar zzz
Browse files

remove unused counters and methods

parent d6d8c0d1
No related branches found
No related tags found
No related merge requests found
...@@ -26,8 +26,8 @@ public class Lease extends DataStructureImpl { ...@@ -26,8 +26,8 @@ public class Lease extends DataStructureImpl {
private Hash _gateway; private Hash _gateway;
private TunnelId _tunnelId; private TunnelId _tunnelId;
private Date _end; private Date _end;
private int _numSuccess; //private int _numSuccess;
private int _numFailure; //private int _numFailure;
public Lease() { public Lease() {
} }
...@@ -74,14 +74,18 @@ public class Lease extends DataStructureImpl { ...@@ -74,14 +74,18 @@ public class Lease extends DataStructureImpl {
* *
* @deprecated unused * @deprecated unused
*/ */
/****
public int getNumSuccess() { public int getNumSuccess() {
return _numSuccess; return _numSuccess;
} }
****/
/** @deprecated unused */ /** @deprecated unused */
/****
public void setNumSuccess(int num) { public void setNumSuccess(int num) {
_numSuccess = num; _numSuccess = num;
} }
****/
/** /**
* Transient attribute of the lease, used to note how many times messages sent * Transient attribute of the lease, used to note how many times messages sent
...@@ -89,14 +93,18 @@ public class Lease extends DataStructureImpl { ...@@ -89,14 +93,18 @@ public class Lease extends DataStructureImpl {
* *
* @deprecated unused * @deprecated unused
*/ */
/****
public int getNumFailure() { public int getNumFailure() {
return _numFailure; return _numFailure;
} }
****/
/** @deprecated unused */ /** @deprecated unused */
/****
public void setNumFailure(int num) { public void setNumFailure(int num) {
_numFailure = num; _numFailure = num;
} }
****/
/** has this lease already expired? */ /** has this lease already expired? */
public boolean isExpired() { public boolean isExpired() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment