mirror of
https://github.com/chatopera/cosin.git
synced 2025-08-01 16:38:02 +08:00
Remove // TODO Auto-generated method stub
This commit is contained in:
parent
55c1d2b159
commit
401fcfaa93
@ -32,7 +32,7 @@ public class CSKeFuExceptionHandler implements ExceptionHandler<Object>{
|
||||
|
||||
@Override
|
||||
public void handleOnStartException(Throwable ex) {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
@ -29,8 +29,8 @@ import java.util.Map;
|
||||
|
||||
public class CubeReportData implements ReportData, Cloneable {
|
||||
/**
|
||||
*
|
||||
*/
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 3987533346101055742L;
|
||||
private Exception exception ;
|
||||
private Level row ;
|
||||
@ -111,16 +111,16 @@ public class CubeReportData implements ReportData, Cloneable {
|
||||
|
||||
@Override
|
||||
public void exchangeColRow() {
|
||||
Level temp = this.col ;
|
||||
this.col = this.row ;
|
||||
this.row = temp ;
|
||||
int colspan = this.col.getColspan() ;
|
||||
this.col.setColspan(this.col.getRowspan()) ;
|
||||
this.col.setRowspan(colspan) ;
|
||||
Level temp = this.col;
|
||||
this.col = this.row;
|
||||
this.row = temp;
|
||||
int colspan = this.col.getColspan();
|
||||
this.col.setColspan(this.col.getRowspan());
|
||||
this.col.setRowspan(colspan);
|
||||
|
||||
colspan = this.row.getColspan() ;
|
||||
this.row.setColspan(this.row.getRowspan()) ;
|
||||
this.row.setRowspan(colspan) ;
|
||||
colspan = this.row.getColspan();
|
||||
this.row.setColspan(this.row.getRowspan());
|
||||
this.row.setRowspan(colspan) ;
|
||||
|
||||
List<List<ValueData>> tempList = new ArrayList<List<ValueData>>();
|
||||
for(int i=0 ; i<data.size() ; i++){
|
||||
@ -157,7 +157,7 @@ public class CubeReportData implements ReportData, Cloneable {
|
||||
|
||||
@Override
|
||||
public Date getDate() {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
return createTime;
|
||||
}
|
||||
|
||||
@ -221,7 +221,7 @@ public class CubeReportData implements ReportData, Cloneable {
|
||||
|
||||
@Override
|
||||
public void setDate(Date createtime) {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
this.createTime = createtime;
|
||||
}
|
||||
}
|
||||
|
@ -528,7 +528,7 @@ public class UKExcelUtil {
|
||||
}
|
||||
|
||||
public String getHeadTitle() {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
return this.headTitle;
|
||||
}
|
||||
|
||||
@ -537,7 +537,7 @@ public class UKExcelUtil {
|
||||
}
|
||||
|
||||
public String getStartTime() {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
return this.startTime;
|
||||
}
|
||||
|
||||
@ -546,7 +546,7 @@ public class UKExcelUtil {
|
||||
}
|
||||
|
||||
public String getEndTime() {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
return this.endTime;
|
||||
}
|
||||
|
||||
@ -555,12 +555,12 @@ public class UKExcelUtil {
|
||||
}
|
||||
|
||||
public void createSheet(String sheetName) throws Exception {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
this.sheet = wb.createSheet(sheetName);
|
||||
}
|
||||
|
||||
public int getRowNum() throws Exception {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
return rowNum;
|
||||
}
|
||||
|
||||
@ -578,17 +578,17 @@ public class UKExcelUtil {
|
||||
}
|
||||
|
||||
public void setOut(OutputStream out) throws Exception {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
this.out = out;
|
||||
}
|
||||
|
||||
public int getPage() {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
return this.page;
|
||||
}
|
||||
|
||||
public void setPage(int page) {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
this.page = page;
|
||||
}
|
||||
|
||||
@ -610,12 +610,12 @@ public class UKExcelUtil {
|
||||
}
|
||||
|
||||
public ReportData getReportData() {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
return this.reportData;
|
||||
}
|
||||
|
||||
public void setReportData(ReportData reportData) {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
this.reportData = reportData;
|
||||
}
|
||||
|
||||
|
@ -9,10 +9,16 @@
|
||||
|
||||
package mondrian.calc.impl;
|
||||
|
||||
import mondrian.calc.*;
|
||||
import mondrian.olap.*;
|
||||
import mondrian.calc.TupleCursor;
|
||||
import mondrian.calc.TupleIterator;
|
||||
import mondrian.calc.TupleList;
|
||||
import mondrian.olap.Evaluator;
|
||||
import mondrian.olap.Member;
|
||||
import mondrian.olap.Util;
|
||||
|
||||
import java.util.*;
|
||||
import java.util.AbstractList;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Implementation of {@link TupleList} that stores tuples end-to-end in an
|
||||
@ -254,14 +260,14 @@ public class ArrayTupleList extends AbstractEndToEndTupleList
|
||||
|
||||
@Override
|
||||
public int getCount() {
|
||||
// TODO Auto-generated method stub
|
||||
return count;
|
||||
|
||||
return count;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setCount(int count) {
|
||||
// TODO Auto-generated method stub
|
||||
this.count = count;
|
||||
|
||||
this.count = count;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -14,7 +14,10 @@ import mondrian.calc.TupleList;
|
||||
import mondrian.olap.Member;
|
||||
import mondrian.olap.Util;
|
||||
|
||||
import java.util.*;
|
||||
import java.util.AbstractList;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Implementation of {@link mondrian.calc.TupleList} based on a list of
|
||||
@ -83,7 +86,7 @@ public class DelegatingTupleList extends AbstractTupleList
|
||||
.get(0);
|
||||
}
|
||||
return subList.set(column, element);
|
||||
};
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@ -125,13 +128,13 @@ public class DelegatingTupleList extends AbstractTupleList
|
||||
|
||||
public Member set(int column, Member element) {
|
||||
return list.get(index).set(index, element);
|
||||
};
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
public List<Member> set(int index, List<Member> element) {
|
||||
return list.set(index, element);
|
||||
};
|
||||
}
|
||||
|
||||
public int size() {
|
||||
return list.size();
|
||||
@ -178,17 +181,17 @@ public class DelegatingTupleList extends AbstractTupleList
|
||||
);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setCount(int count) {
|
||||
// TODO Auto-generated method stub
|
||||
this.count = count;
|
||||
}
|
||||
@Override
|
||||
public int getCount() {
|
||||
|
||||
@Override
|
||||
public int getCount() {
|
||||
// TODO Auto-generated method stub
|
||||
return count;
|
||||
}
|
||||
return count;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setCount(int count) {
|
||||
|
||||
this.count = count;
|
||||
}
|
||||
}
|
||||
|
||||
// End DelegatingTupleList.java
|
||||
|
@ -14,7 +14,10 @@ import mondrian.calc.TupleList;
|
||||
import mondrian.olap.Member;
|
||||
import mondrian.olap.Util;
|
||||
|
||||
import java.util.*;
|
||||
import java.util.AbstractList;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Implementation of {@link mondrian.calc.TupleList} that stores tuples
|
||||
@ -143,17 +146,17 @@ public class ListTupleList extends AbstractEndToEndTupleList
|
||||
return new AbstractTupleListIterator();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setCount(int count) {
|
||||
// TODO Auto-generated method stub
|
||||
this.count = count;
|
||||
}
|
||||
@Override
|
||||
public int getCount() {
|
||||
|
||||
@Override
|
||||
public int getCount() {
|
||||
// TODO Auto-generated method stub
|
||||
return count;
|
||||
}
|
||||
return count;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setCount(int count) {
|
||||
|
||||
this.count = count;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
@ -9,7 +9,9 @@
|
||||
|
||||
package mondrian.calc.impl;
|
||||
|
||||
import mondrian.calc.*;
|
||||
import mondrian.calc.TupleCursor;
|
||||
import mondrian.calc.TupleIterator;
|
||||
import mondrian.calc.TupleList;
|
||||
import mondrian.olap.Evaluator;
|
||||
import mondrian.olap.Member;
|
||||
|
||||
@ -259,14 +261,14 @@ public class UnaryTupleList
|
||||
|
||||
@Override
|
||||
public int getCount() {
|
||||
// TODO Auto-generated method stub
|
||||
return count;
|
||||
|
||||
return count;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setCount(int count) {
|
||||
// TODO Auto-generated method stub
|
||||
this.count = count;
|
||||
|
||||
this.count = count;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -12,7 +12,9 @@
|
||||
package mondrian.rolap;
|
||||
|
||||
import mondrian.calc.TupleList;
|
||||
import mondrian.olap.*;
|
||||
import mondrian.olap.Axis;
|
||||
import mondrian.olap.Member;
|
||||
import mondrian.olap.Position;
|
||||
|
||||
import java.util.AbstractList;
|
||||
import java.util.List;
|
||||
@ -112,8 +114,8 @@ public class RolapAxis implements Axis {
|
||||
|
||||
@Override
|
||||
public int getDataSize() {
|
||||
// TODO Auto-generated method stub
|
||||
return list.getCount();
|
||||
|
||||
return list.getCount();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user