Skip to content

Commit

Permalink
ContainerableListPanel.java: typo + todo about suspicious exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
virgo47 committed Mar 6, 2020
1 parent 0b222b1 commit c0266eb
Showing 1 changed file with 2 additions and 4 deletions.
Expand Up @@ -7,11 +7,8 @@
package com.evolveum.midpoint.gui.api.component;

import com.evolveum.midpoint.gui.api.model.LoadableModel;
import com.evolveum.midpoint.gui.api.util.WebComponentUtil;
import com.evolveum.midpoint.gui.impl.prism.PrismContainerValueWrapper;
import com.evolveum.midpoint.model.api.ModelAuthorizationAction;
import com.evolveum.midpoint.prism.Containerable;
import com.evolveum.midpoint.prism.PrismConstants;
import com.evolveum.midpoint.prism.query.ObjectFilter;
import com.evolveum.midpoint.prism.query.ObjectPaging;
import com.evolveum.midpoint.prism.query.ObjectQuery;
Expand Down Expand Up @@ -126,6 +123,7 @@ protected void saveProviderPaging(ObjectQuery query, ObjectPaging paging) {
@Override
public ObjectQuery getQuery() {
try {
// TODO this seems to throw now checked exception (see unused throws lower)
return createQuery();
} catch (SchemaException | ObjectNotFoundException | ExpressionEvaluationException | CommunicationException
| ConfigurationException | SecurityViolationException e) {
Expand All @@ -141,7 +139,7 @@ public ObjectQuery getQuery() {
protected abstract Class<C> getType();

protected void setDefaultSorting(ContainerListDataProvider<C> provider){
//should be overridded if needed
//should be overridden if needed
}

public long getItemsPerPage() {
Expand Down

0 comments on commit c0266eb

Please sign in to comment.