[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [xtext-dev] Re: TypeHandler.createDate()
|
CLI is IP approved and we are allowed to use it for MWE. Back then we
decided that we did not want to ship the whole bundle as we only
needed few lines....
Bernd
Zitat von Peter Friese <peter.friese@xxxxxxxxx>:
We should re-use CLI - if it is in Orbit.
Peter
On 20.04.2009, at 15:18, Patrick Schönbach <schoenbach@xxxxxxxxx> wrote:
Ah, got it. The package "cli" in org.eclipse.emf.mwe.core seems to
> be copied from org.apache.commons.cli
Why do we keep a copy here instead of reusing the bundle?
Regards,
Patrick
On 20.04.2009 12:54, Patrick Schönbach wrote:
Hi all,
I just looked over the warnings in the MWE project, and I came >>
across the following method in TypeHandler:
/**
* <p>Returns the date represented by <code>str</code>.</p>
*
* @param str the date string
* @return The date if <code>str</code> is a valid date string,
* otherwise return null.
*/
public static Date createDate(String str) {
Date date = null;
if(date == null) {
System.err.println("Unable to parse: "+str);
}
return date;
}
I think, something is missing here, right? ;)
Regards,
Patrick
--> Patrick Schönbach
Software Architect
PGP public key available. Key ID: 0B7DDE39
Or email to pgp@xxxxxxxxxxxxx with subject 'pschoenb'.
Fingerprint: BE80 0E7E B68E CE99 623C 902D 62A6 806A 0B7D DE39
web: http://www.itemis.de
mail: schoenbach@xxxxxxxxx
xing: https://www.xing.com/profile/Patrick_Schoenbach
itemis AG
Schauenburgerstraße 116
24118 Kiel
Germany
Rechtlicher Hinweis:
Amtsgericht Dortmund, HRB 20621
Vorstand: Wolfgang Neuhaus, Jens Wagener, Dr. Georg Pietrek
Aufsichtsrat: Dr. Burkhard Igel(Vors.), Stephan Grollmann, Michael > Neuhaus
_______________________________________________
xtext-dev mailing list
xtext-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/xtext-dev
_______________________________________________
xtext-dev mailing list
xtext-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/xtext-dev
Mit freundlichen Grüßen
B.Kolb
_______________________
KolbW@re
Beratung und Coaching
Franz-Marc Str. 35
89520 Heideinheim