Changeset ae79def for apps/jetty


Ignore:
Timestamp:
Nov 21, 2013 10:13:34 AM (7 years ago)
Author:
str4d <str4d@…>
Branches:
master
Children:
4bddf8a
Parents:
e3aeb26
Message:

net.i2p.jetty.*: type arguments, unused imports

Location:
apps/jetty/java/src/net/i2p/jetty
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • apps/jetty/java/src/net/i2p/jetty/I2PRequestLog.java

    re3aeb26 rae79def  
    3333import org.eclipse.jetty.util.RolloverFileOutputStream;
    3434import org.eclipse.jetty.util.StringUtil;
    35 import org.eclipse.jetty.util.TypeUtil;
    3635import org.eclipse.jetty.util.Utf8StringBuilder;
    3736import org.eclipse.jetty.util.component.AbstractLifeCycle;
     
    8483    private transient PathMap _ignorePathMap;
    8584    private transient Writer _writer;
    86     private transient ArrayList _buffers;
     85    private transient ArrayList<Utf8StringBuilder> _buffers;
    8786    private transient char[] _copy;
    8887
     
    263262            {
    264263                int size=_buffers.size();
    265                 u8buf = size==0?new Utf8StringBuilder(160):(Utf8StringBuilder)_buffers.remove(size-1);
     264                u8buf = size==0?new Utf8StringBuilder(160):_buffers.remove(size-1);
    266265                buf = u8buf.getStringBuilder();
    267266            }
     
    468467       
    469468        _writer = new OutputStreamWriter(_out);
    470         _buffers = new ArrayList();
     469        _buffers = new ArrayList<Utf8StringBuilder>();
    471470        _copy = new char[1024];
    472471        super.doStart();
  • apps/jetty/java/src/net/i2p/jetty/JettyStart.java

    re3aeb26 rae79def  
    5858        _mgr = mgr;
    5959        _args = args;
    60         _jettys = new ArrayList(args.length);
     60        _jettys = new ArrayList<LifeCycle>(args.length);
    6161        parseArgs(args);
    6262        _state = INITIALIZED;
Note: See TracChangeset for help on using the changeset viewer.