[Mondrian] Mondrian 3.0 is production

Julian Hyde jhyde at pentaho.org
Thu Mar 27 11:12:59 EDT 2008


> I replaced:
>      String[] uniqueNameParts = Util.explode(uniqueName);
> with
>      List<Id.Segment> uniqueNameParts = 
> Util.parseIdentifier(uniqueName);
> in the JPivot MondrianModel.java code rather than just having
> it return a 1.4 List - therefore java 1.5.

Note that you could have written

   List uniqueNameParts = Util.parseIdentifier(uniqueName);

And that would compile on 1.4 and 1.5 (albeit with warnings on 1.5). The
designers of JDK 1.5 were careful not to use generics for overloading etc.
so you can safely write code without generics.

That would be a better option for jpivot, because it keeps the code 1.4


More information about the Mondrian mailing list