Changeset abe1dc6


Ignore:
Timestamp:
Nov 20, 2013 10:05:37 PM (6 years ago)
Author:
str4d <str4d@…>
Branches:
master
Children:
f161a2d
Parents:
2cc742c
Message:

Dead code, type arguments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • router/java/src/net/i2p/router/MessageHistory.java

    r2cc742c rabe1dc6  
    425425    public void sendMessage(String messageType, long messageId, long expiration, Hash peer, boolean sentOk, String info) {
    426426        if (!_doLog) return;
    427         if (false) return;
    428427        StringBuilder buf = new StringBuilder(256);
    429428        buf.append(getPrefix());
     
    453452    public void receiveMessage(String messageType, long messageId, long expiration, Hash from, boolean isValid) {
    454453        if (!_doLog) return;
    455         if (false) return;
    456454        StringBuilder buf = new StringBuilder(256);
    457455        buf.append(getPrefix());
     
    536534        addEntry(buf.toString());
    537535    }
    538     public void fragmentMessage(long messageId, int numFragments, int totalLength, List messageIds, String msg) {
     536    public void fragmentMessage(long messageId, int numFragments, int totalLength, List<Long> messageIds, String msg) {
    539537        if (!_doLog) return;
    540538        //if (messageId == -1) throw new IllegalArgumentException("why are you -1?");
     
    548546        addEntry(buf.toString());
    549547    }
    550     public void fragmentMessage(long messageId, int numFragments, int totalLength, List messageIds, Object tunnel, String msg) {
     548    public void fragmentMessage(long messageId, int numFragments, int totalLength, List<Long> messageIds, Object tunnel, String msg) {
    551549        if (!_doLog) return;
    552550        //if (messageId == -1) throw new IllegalArgumentException("why are you -1?");
Note: See TracChangeset for help on using the changeset viewer.