Changeset 5926
- Timestamp:
- Jan 16, 2012, 9:15:15 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.0-stable/src/core/net/sf/basedb/core/Keyring.java
r5829 r5926 164 164 TRUE if the Timer has signaled that it is time to reload the information. 165 165 */ 166 private boolean reload;166 private volatile boolean reload; 167 167 168 168 /** … … 263 263 { 264 264 if (!getReload()) return true; 265 setReload(false); 265 266 org.hibernate.Session session = null; 266 267 org.hibernate.Transaction tx = null; … … 284 285 loadPluginPermissionKeys(session); 285 286 } 286 setReload(false);287 287 // Schedule another reload as configured in base.config 288 288 Application.getCoreTimer().schedule(new ReloadTask(), … … 743 743 else 744 744 { 745 maxProjectPermission = IntegerUtil.getInt(projects.get(projectId)) ;745 maxProjectPermission = IntegerUtil.getInt(projects.get(projectId)) | getRolePermissions(Item.PROJECT); 746 746 } 747 747 }
Note: See TracChangeset
for help on using the changeset viewer.