Changeset 159


Ignore:
Timestamp:
06/28/11 10:37:27 (12 years ago)
Author:
merek
Message:

Code cleanup #3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/com/bowman/cardserv/SimpleUserManager.java

    r157 r159  
    266266  }
    267267
    268     public int getAllowedEcmRate(String user) {
    269         UserEntry entry = getUser(user);
    270         if(entry == null) return -1;
    271         else return entry.EcmRate;
    272     }
     268  public int getAllowedEcmRate(String user) {
     269    UserEntry entry = getUser(user);
     270    if(entry == null) return -1;
     271    else return entry.EcmRate;
     272  }
    273273
    274274  static class UserEntry {
     
    282282
    283283    public UserEntry(String name, String password, String ipMask, String email, int maxConnections, boolean enabled,
    284                      boolean admin, boolean exclude, boolean debug, String startDate, String expireDate, int EcmRate, boolean spider)
    285     {
     284                     boolean admin, boolean exclude, boolean debug, String startDate, String expireDate, int EcmRate, boolean spider) {
    286285      this.name = name;
    287286      this.displayName = name;
     
    299298      this.startDate = startDate;
    300299    }
    301 
    302   }
    303 
     300  }
    304301}
Note: See TracChangeset for help on using the changeset viewer.