Skip to content

Commit

Permalink
MONDRIAN: removed old comments
Browse files Browse the repository at this point in the history
[git-p4: depot-paths = "//open/mondrian/": change = 704]
  • Loading branch information
ebengtso committed Aug 14, 2003
1 parent 83c2ce1 commit 557fe02
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/main/mondrian/web/servlet/MDXQueryServlet.java
Expand Up @@ -84,12 +84,6 @@ protected void processRequest(HttpServletRequest request, HttpServletResponse re
mdxConnection = DriverManager.getConnection(connectString, getServletContext(), false);
Query q = mdxConnection.parseQuery(queryString);
Result result = mdxConnection.execute(q);
/*
if (result.getAxes().length != 2) {
throw Util.newError("Can only handle queries with 2 axes; this query has " +
result.getAxes().length + "axes");
}
*/
Position slicers[] = result.getSlicerAxis().positions;
html.append("<table class='resulttable' cellspacing=1 border=0>");
final String nl = System.getProperty("line.separator");
Expand All @@ -101,7 +95,6 @@ protected void processRequest(HttpServletRequest request, HttpServletResponse re
rows = result.getAxes()[1].positions;

int columnWidth = columns[0].members.length;
//int columnWidth = columns.length == 1 ? 0 : columns[0].members.length;
int rowWidth = 0;
if( result.getAxes().length == 2 )
rowWidth = result.getAxes()[1].positions[0].members.length;
Expand Down

0 comments on commit 557fe02

Please sign in to comment.