Changeset 395baf0


Ignore:
Timestamp:
Jan 31, 2009 2:27:45 PM (11 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
78d5080
Parents:
951f082
Message:
  • Convert some inner classes to static (findbugs)
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • apps/i2ptunnel/java/src/net/i2p/i2ptunnel/socks/SOCKS5Server.java

    r951f082 r395baf0  
    362362     * Some namespaces to enclose SOCKS protocol codes
    363363     */
    364     private class Method {
     364    private static class Method {
    365365        private static final int NO_AUTH_REQUIRED = 0x00;
    366366        private static final int NO_ACCEPTABLE_METHODS = 0xff;
    367367    }
    368368
    369     private class AddressType {
     369    private static class AddressType {
    370370        private static final int IPV4 = 0x01;
    371371        private static final int DOMAINNAME = 0x03;
     
    373373    }
    374374
    375     private class Command {
     375    private static class Command {
    376376        private static final int CONNECT = 0x01;
    377377        private static final int BIND = 0x02;
     
    379379    }
    380380
    381     private class Reply {
     381    private static class Reply {
    382382        private static final int SUCCEEDED = 0x00;
    383383        private static final int GENERAL_SOCKS_SERVER_FAILURE = 0x01;
  • core/java/src/net/i2p/data/i2cp/RequestLeaseSetMessage.java

    r951f082 r395baf0  
    157157    }
    158158
    159     private class TunnelEndpoint {
     159    private static class TunnelEndpoint {
    160160        private Hash _router;
    161161        private TunnelId _tunnelId;
  • router/java/src/net/i2p/router/Blocklist.java

    r951f082 r395baf0  
    257257    }
    258258
    259     private class Entry {
     259    private static class Entry {
    260260        String comment;
    261261        byte ip1[];
  • router/java/src/net/i2p/router/Shitlist.java

    r951f082 r395baf0  
    3737    private Map _entries;
    3838   
    39     private class Entry {
     39    private static class Entry {
    4040        /** when it should expire, per the i2p clock */
    4141        long expireOn;
  • router/java/src/net/i2p/router/tunnel/pool/TunnelPoolManager.java

    r951f082 r395baf0  
    377377    }
    378378   
    379     private class BootstrapPool extends JobImpl {
     379    private static class BootstrapPool extends JobImpl {
    380380        private TunnelPool _pool;
    381381        public BootstrapPool(RouterContext ctx, TunnelPool pool) {
Note: See TracChangeset for help on using the changeset viewer.