modules/core/domain/src/main/java/org/rhq/core/domain/criteria/Criteria.java | 6
+++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit ff37cd971a73a9fefc4024f5022aff85b7b90b90
Author: Jay Shaughnessy <jshaughn(a)redhat.com>
Date: Fri May 24 23:29:46 2013 -0400
remove use of method not supported by GWT
diff --git a/modules/core/domain/src/main/java/org/rhq/core/domain/criteria/Criteria.java
b/modules/core/domain/src/main/java/org/rhq/core/domain/criteria/Criteria.java
index d8552de..f398020 100644
--- a/modules/core/domain/src/main/java/org/rhq/core/domain/criteria/Criteria.java
+++ b/modules/core/domain/src/main/java/org/rhq/core/domain/criteria/Criteria.java
@@ -179,7 +179,7 @@ public abstract class Criteria implements Serializable, BaseCriteria
{
this.sortId = sortId;
} else {
- throw new UnsupportedOperationException("ID sort is not supported by
" + this.getClass().getSimpleName());
+ throw new UnsupportedOperationException("ID sort is not supported by
supported by this class");
}
}
@@ -188,7 +188,7 @@ public abstract class Criteria implements Serializable, BaseCriteria
{
this.filterId = filterId;
} else {
- throw new UnsupportedOperationException("ID filter is not supported by
" + this.getClass().getSimpleName());
+ throw new UnsupportedOperationException("ID filter is not supported by
this class");
}
}
@@ -197,7 +197,7 @@ public abstract class Criteria implements Serializable, BaseCriteria
{
this.filterIds = CriteriaUtils.getListIgnoringNulls(filterIds);
} else {
- throw new UnsupportedOperationException("IDS filter is not supported by
" + this.getClass().getSimpleName());
+ throw new UnsupportedOperationException("IDS filter is not supported by
this class");
}
}
Show replies by date