1
0
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:
dengchao@xgtl 2020-04-17 14:45:41 +08:00
parent 55c1d2b159
commit 401fcfaa93
8 changed files with 333 additions and 317 deletions

View File

@ -32,7 +32,7 @@ public class CSKeFuExceptionHandler implements ExceptionHandler<Object>{
@Override @Override
public void handleOnStartException(Throwable ex) { public void handleOnStartException(Throwable ex) {
// TODO Auto-generated method stub
} }

View File

@ -29,8 +29,8 @@ import java.util.Map;
public class CubeReportData implements ReportData, Cloneable { public class CubeReportData implements ReportData, Cloneable {
/** /**
* *
*/ */
private static final long serialVersionUID = 3987533346101055742L; private static final long serialVersionUID = 3987533346101055742L;
private Exception exception ; private Exception exception ;
private Level row ; private Level row ;
@ -111,16 +111,16 @@ public class CubeReportData implements ReportData, Cloneable {
@Override @Override
public void exchangeColRow() { public void exchangeColRow() {
Level temp = this.col ; Level temp = this.col;
this.col = this.row ; this.col = this.row;
this.row = temp ; this.row = temp;
int colspan = this.col.getColspan() ; int colspan = this.col.getColspan();
this.col.setColspan(this.col.getRowspan()) ; this.col.setColspan(this.col.getRowspan());
this.col.setRowspan(colspan) ; this.col.setRowspan(colspan);
colspan = this.row.getColspan() ; colspan = this.row.getColspan();
this.row.setColspan(this.row.getRowspan()) ; this.row.setColspan(this.row.getRowspan());
this.row.setRowspan(colspan) ; this.row.setRowspan(colspan) ;
List<List<ValueData>> tempList = new ArrayList<List<ValueData>>(); List<List<ValueData>> tempList = new ArrayList<List<ValueData>>();
for(int i=0 ; i<data.size() ; i++){ for(int i=0 ; i<data.size() ; i++){
@ -157,7 +157,7 @@ public class CubeReportData implements ReportData, Cloneable {
@Override @Override
public Date getDate() { public Date getDate() {
// TODO Auto-generated method stub
return createTime; return createTime;
} }
@ -221,7 +221,7 @@ public class CubeReportData implements ReportData, Cloneable {
@Override @Override
public void setDate(Date createtime) { public void setDate(Date createtime) {
// TODO Auto-generated method stub
this.createTime = createtime; this.createTime = createtime;
} }
} }

View File

@ -528,7 +528,7 @@ public class UKExcelUtil {
} }
public String getHeadTitle() { public String getHeadTitle() {
// TODO Auto-generated method stub
return this.headTitle; return this.headTitle;
} }
@ -537,7 +537,7 @@ public class UKExcelUtil {
} }
public String getStartTime() { public String getStartTime() {
// TODO Auto-generated method stub
return this.startTime; return this.startTime;
} }
@ -546,7 +546,7 @@ public class UKExcelUtil {
} }
public String getEndTime() { public String getEndTime() {
// TODO Auto-generated method stub
return this.endTime; return this.endTime;
} }
@ -555,12 +555,12 @@ public class UKExcelUtil {
} }
public void createSheet(String sheetName) throws Exception { public void createSheet(String sheetName) throws Exception {
// TODO Auto-generated method stub
this.sheet = wb.createSheet(sheetName); this.sheet = wb.createSheet(sheetName);
} }
public int getRowNum() throws Exception { public int getRowNum() throws Exception {
// TODO Auto-generated method stub
return rowNum; return rowNum;
} }
@ -578,17 +578,17 @@ public class UKExcelUtil {
} }
public void setOut(OutputStream out) throws Exception { public void setOut(OutputStream out) throws Exception {
// TODO Auto-generated method stub
this.out = out; this.out = out;
} }
public int getPage() { public int getPage() {
// TODO Auto-generated method stub
return this.page; return this.page;
} }
public void setPage(int page) { public void setPage(int page) {
// TODO Auto-generated method stub
this.page = page; this.page = page;
} }
@ -610,12 +610,12 @@ public class UKExcelUtil {
} }
public ReportData getReportData() { public ReportData getReportData() {
// TODO Auto-generated method stub
return this.reportData; return this.reportData;
} }
public void setReportData(ReportData reportData) { public void setReportData(ReportData reportData) {
// TODO Auto-generated method stub
this.reportData = reportData; this.reportData = reportData;
} }

View File

@ -9,10 +9,16 @@
package mondrian.calc.impl; package mondrian.calc.impl;
import mondrian.calc.*; import mondrian.calc.TupleCursor;
import mondrian.olap.*; 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 * Implementation of {@link TupleList} that stores tuples end-to-end in an
@ -254,14 +260,14 @@ public class ArrayTupleList extends AbstractEndToEndTupleList
@Override @Override
public int getCount() { public int getCount() {
// TODO Auto-generated method stub
return count; return count;
} }
@Override @Override
public void setCount(int count) { public void setCount(int count) {
// TODO Auto-generated method stub
this.count = count; this.count = count;
} }
} }

View File

@ -14,7 +14,10 @@ import mondrian.calc.TupleList;
import mondrian.olap.Member; import mondrian.olap.Member;
import mondrian.olap.Util; 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 * Implementation of {@link mondrian.calc.TupleList} based on a list of
@ -83,7 +86,7 @@ public class DelegatingTupleList extends AbstractTupleList
.get(0); .get(0);
} }
return subList.set(column, element); return subList.set(column, element);
}; }
}; };
} }
@ -125,13 +128,13 @@ public class DelegatingTupleList extends AbstractTupleList
public Member set(int column, Member element) { public Member set(int column, Member element) {
return list.get(index).set(index, element); return list.get(index).set(index, element);
}; }
}; };
} }
public List<Member> set(int index, List<Member> element) { public List<Member> set(int index, List<Member> element) {
return list.set(index, element); return list.set(index, element);
}; }
public int size() { public int size() {
return list.size(); return list.size();
@ -178,17 +181,17 @@ public class DelegatingTupleList extends AbstractTupleList
); );
} }
@Override @Override
public void setCount(int count) { public int getCount() {
// TODO Auto-generated method stub
this.count = count;
}
@Override return count;
public int getCount() { }
// TODO Auto-generated method stub
return count; @Override
} public void setCount(int count) {
this.count = count;
}
} }
// End DelegatingTupleList.java // End DelegatingTupleList.java

View File

@ -14,7 +14,10 @@ import mondrian.calc.TupleList;
import mondrian.olap.Member; import mondrian.olap.Member;
import mondrian.olap.Util; 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 * Implementation of {@link mondrian.calc.TupleList} that stores tuples
@ -143,17 +146,17 @@ public class ListTupleList extends AbstractEndToEndTupleList
return new AbstractTupleListIterator(); return new AbstractTupleListIterator();
} }
@Override @Override
public void setCount(int count) { public int getCount() {
// TODO Auto-generated method stub
this.count = count;
}
@Override return count;
public int getCount() { }
// TODO Auto-generated method stub
return count; @Override
} public void setCount(int count) {
this.count = count;
}
} }

View File

@ -9,7 +9,9 @@
package mondrian.calc.impl; 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.Evaluator;
import mondrian.olap.Member; import mondrian.olap.Member;
@ -259,14 +261,14 @@ public class UnaryTupleList
@Override @Override
public int getCount() { public int getCount() {
// TODO Auto-generated method stub
return count; return count;
} }
@Override @Override
public void setCount(int count) { public void setCount(int count) {
// TODO Auto-generated method stub
this.count = count; this.count = count;
} }
} }

View File

@ -12,7 +12,9 @@
package mondrian.rolap; package mondrian.rolap;
import mondrian.calc.TupleList; 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.AbstractList;
import java.util.List; import java.util.List;
@ -112,8 +114,8 @@ public class RolapAxis implements Axis {
@Override @Override
public int getDataSize() { public int getDataSize() {
// TODO Auto-generated method stub
return list.getCount(); return list.getCount();
} }
} }