Skip to content

Commit

Permalink
MONDRIAN: Oops!
Browse files Browse the repository at this point in the history
[git-p4: depot-paths = "//open/mondrian/": change = 6358]
  • Loading branch information
julianhyde committed Apr 24, 2006
1 parent c78870b commit 7aeff57
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main/mondrian/xmla/RowsetDefinition.java
Expand Up @@ -3304,8 +3304,10 @@ public void unparse(XmlaResponse response) throws XmlaException {
int[] returnCategories = fi.getReturnCategories();

// Convert Windows newlines in 'description' to UNIX format.
final String description =
Util.replace(fi.getDescription(), "\r", "");
String description = fi.getDescription();
if (description != null) {
description = Util.replace(fi.getDescription(), "\r", "");
}
if ((paramCategories == null) || (paramCategories.length == 0)) {
Row row = new Row();
row.set(FunctionName.name, fi.getName());
Expand Down

0 comments on commit 7aeff57

Please sign in to comment.