Changeset cdb6313


Ignore:
Timestamp:
Sep 1, 2011 1:50:00 PM (8 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
d7a4e03
Parents:
b3711e31
Message:

cleanup

File:
1 edited

Legend:

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

    rb3711e31 rcdb6313  
    551551        // if prop set to true, don't tell people we are ff even if we are
    552552        if (FloodfillNetworkDatabaseFacade.floodfillEnabled(_context) &&
    553             !Boolean.valueOf(_context.getProperty("router.hideFloodfillParticipant")).booleanValue())
     553            !_context.getBooleanProperty("router.hideFloodfillParticipant"))
    554554            ri.addCapability(FloodfillNetworkDatabaseFacade.CAPABILITY_FLOODFILL);
    555555       
    556         if(Boolean.valueOf(_context.getProperty(PROP_HIDDEN)).booleanValue())
     556        if(_context.getBooleanProperty(PROP_HIDDEN))
    557557            ri.addCapability(RouterInfo.CAPABILITY_HIDDEN);
    558558       
    559         if (Boolean.valueOf(_context.getProperty(PROP_FORCE_UNREACHABLE)).booleanValue()) {
     559        if (_context.getBooleanProperty(PROP_FORCE_UNREACHABLE)) {
    560560            ri.addCapability(CAPABILITY_UNREACHABLE);
    561561            return;
     
    579579        if ( (ri != null) && (ri.isHidden()) )
    580580            return true;
    581         return Boolean.valueOf(_context.getProperty(PROP_HIDDEN_HIDDEN)).booleanValue();
     581        return _context.getBooleanProperty(PROP_HIDDEN_HIDDEN);
    582582    }
    583583
Note: See TracChangeset for help on using the changeset viewer.