Skip to content

Commit

Permalink
MONDRIAN: *public* Literal.create(Double d)
Browse files Browse the repository at this point in the history
[git-p4: depot-paths = "//open/mondrian/": change = 1160]
  • Loading branch information
hhaas committed Jan 16, 2004
1 parent d8108de commit a173ae4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/mondrian/olap/Literal.java
Expand Up @@ -38,7 +38,7 @@ private Literal(String s, boolean isSymbol)
/**
* Creates a string literal.
* @see #createSymbol
*/
*/
public static Literal createString(String s) {
if (s.equals("")) {
return emptyString;
Expand All @@ -57,7 +57,7 @@ private Literal(Double d) {
this.o = d;
this.type = Category.Numeric;
}
static Literal create(Double d) {
public static Literal create(Double d) {
if (d.doubleValue() == 0.0) {
return doubleZero;
} else if (d.doubleValue() == 1.0) {
Expand Down

0 comments on commit a173ae4

Please sign in to comment.