Skip to content
Snippets Groups Projects
Commit 15fcddf8 authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

MAINT: removed old comment and styling

parent 78916a06
Branches
Tags
1 merge request!65F permission checks
......@@ -826,7 +826,6 @@ public class Query implements QueryInterface, ToElementable, TransactionInterfac
final HashMap<String, Boolean> acl_cache = new HashMap<String, Boolean>();
final List<Integer> toBeDeleted = new LinkedList<Integer>();
// @todo here, we must operate on sql site. only retrieve different permissions
while (entities_with_acl.next()) {
final long t1 = System.currentTimeMillis();
final Integer id = entities_with_acl.getInt("id");
......@@ -1006,16 +1005,15 @@ public class Query implements QueryInterface, ToElementable, TransactionInterfac
* @return A Cache key.
*/
String getCacheKey() {
final StringBuilder sb = new StringBuilder();
final StringBuilder sb = new StringBuilder();
if (this.user != null) {
sb.append(this.user.toString());
sb.append(this.user.toString());
}
if (this.versioned) {
sb.append("versioned");
sb.append("versioned");
}
if (this.role != null) {
sb.append(this.role.toString());
sb.append(this.role.toString());
}
if (this.entity != null) {
sb.append(this.entity.toString());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment