Permalink
Browse files

removendo warnings

  • Loading branch information...
brunoadacosta committed Nov 16, 2011
1 parent ffcaef5 commit b48551c6869644658f3cd0d0b3649c57e784e08d
Showing with 1 addition and 4 deletions.
  1. +1 −4 src/com/cocento/commons/ajax/easygrid/EasyGridObjectBuilder.java
@@ -50,9 +50,8 @@
private final Mirror mirror = new Mirror();
- @SuppressWarnings("unchecked")
public EasyGridObjectBuilder() {
- objects = new ArrayList();
+ objects = new ArrayList<T>();
this.totalRecords = 0L;
}
@@ -173,7 +172,6 @@ public EasyGridObject empty() {
return this;
}
- @SuppressWarnings("unchecked")
private Method getMethod(String[] methodName) {
Method method = null;
for (int i = 1; i < methodName.length; i++) {
@@ -186,7 +184,6 @@ private Method getMethod(String[] methodName) {
return method;
}
- @SuppressWarnings("unchecked")
private List<String> returnRow(Object obj) {
List<String> row = new ArrayList<String>(columns.size());
for (String methodName : columns) {

0 comments on commit b48551c

Please sign in to comment.