RE: [lang] ClassCastException in Enum.compareTo with anonymous inner classes

2007-09-13 Thread Jörg Schaible
Hi Samuel, Samuel Fleischle wrote on Thursday, September 13, 2007 3:51 PM: Hi, I updated from Commons Lang 2.1 to Commons Lang 2.3 and got some issues with the changed compareTo() method of Enum with anonymouse inner classes: Here is my simplified Enum: public class ItemStatus

RE: [lang] ClassCastException in Enum.compareTo with anonymous inner classes

2007-09-14 Thread Jörg Schaible
Samuel Fleischle wrote on Friday, September 14, 2007 9:19 AM: Hi Jörg, thanks for your quick response and your approach to solve this issue. But anyway I think it should be possible to add these Enums to a Set without throwing a ClassCastException regardless of which class, anonymous inner

RE: codec - thread safe

2007-10-08 Thread Jörg Schaible
David J. Biesack wrote on Monday, October 08, 2007 3:02 PM: Date: Sat, 6 Oct 2007 23:31:19 -0500 From: Qingtian Wang [EMAIL PROTECTED] Well, it's pick-your-poison kind of a deal. Either block on one instance and take a performance hit, or burn up the memory with lots of instances.

RE: codec - thread safe

2007-10-08 Thread Jörg Schaible
David J. Biesack wrote on Monday, October 08, 2007 4:40 PM: Date: Mon, 8 Oct 2007 16:23:59 +0200 From: =?iso-8859-1?Q?J=F6rg_Schaible?= [EMAIL PROTECTED] David J. Biesack wrote on Monday, October 08, 2007 3:02 PM: Date: Sat, 6 Oct 2007 23:31:19 -0500 From: Qingtian Wang [EMAIL

Re: FileUpload: Stop ISP Caching ?

2007-11-06 Thread Jörg Schaible
Constantin Moisei wrote: Hello, I'm using commons-fileupload.jar with ajax to do a multi file upload. I have the feeling that my ISP uploads the file and when they receive it all only then they pass it to me. That causes me to get the file almost instantly. I'm displaying a progress

[vfs] FTP extremely slow compared to SFTP

2007-12-10 Thread Jörg Schaible
Hi, can somebody explain the following numbers - especially why FTP is that dead slow compared to SFTP handling a lot of files? I measure a simple copy action of a directory containing some few files: FTP *

RE: [lang] equalsBuilder unexplained wrong equality with java.lang.Longs ?

2007-12-17 Thread Jörg Schaible
Gary Gregory wrote: Hello Laurent: This behavior is 'normal'. The concepts of object equality (the equals() method) and object identity (==) are different. Well, this was not Laurent's question. He was wondering, why the EqualsBuilder seems to use in his example the Long objects' identity

RE: Whitespace in XML configuration file

2008-01-27 Thread Jörg Schaible
Hi Oliver, Oliver Heger wrote: Ricardo Espírito Santo schrieb: I've tried xml:space=preserve and still no luck. Yes, this special attribute is not yet supported. If you like, you can open a new ticket in our bug tracking system [1] and enter an enhancement request. @Jörg: Would you

RE: a question about URL encoding

2008-05-07 Thread Jörg Schaible
Hi Jim, Jim the Standing Bear wrote: Hello, I read somewhere that the URL Encoding of the space character can be either %20 or +. The behavior of the URLEncoders from both commons-codec and jdk converts spaces to +. Is there anyway to force the URLEncoder to convert spaces to %20

RE: Strange performance issues seen with Log.isDebugEnabled()

2008-06-26 Thread Jörg Schaible
Jean-Philippe Daigle wrote: [snip] Ah, so there's one more thing I hadn't tried, which I just did, and explained a bit of the situation: completely removing the logging block (don't check isDebugEnabled(), don't call .debug(), etc. Removing the whole logging block results in getting the

RE: [VFS] How to use operations

2008-07-22 Thread Jörg Schaible
Mario Ivankovits wrote: Hi! 1. Do you have any mechanism in mind to give feedback on the result of the operation? Not yet, this is all work in progress. But probably changing the FileOperation interface to ProcessReturn process() and add a new ProcessReturn interface with. boolean

RE: [Configuration] Bug with XMLConfiguration and getString() ...?!

2008-10-30 Thread Jörg Schaible
Oliver Heger wrote: Jörg Schaible schrieb: [snip] Actually, it works as designed. getString() delivers the first list entry. And I am sure, that quite everyone will consider this as a bug ... it makes no sense to me either :-/ - Jörg You can disable this behavior by calling

Re: [VFS][SFTP] cannot connect to SFT server

2008-12-15 Thread Jörg Schaible
lmk wrote at Montag, 15. Dezember 2008 15:18: how can I do that? http://en.wikipedia.org/wiki/Hosts_file - Jörg - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail:

Re: [VFS][SFTP] cannot connect to SFT server

2008-12-15 Thread Jörg Schaible
lmk wrote at Montag, 15. Dezember 2008 15:33: Actually I have a host name defined on hosts file, but, I cannot ping it however. Well, that should be possible if the entry in the hosts file is correct and the hosts file is in use. I can connect to SFTP server with Win SCP, I put the server

Re: [VFS][SFTP] cannot connect to SFT server

2008-12-15 Thread Jörg Schaible
lmk wrote at Montag, 15. Dezember 2008 14:20: I dont have a DNS server installed, the host cannot be found by name. Well, you may temporarily add an entry to your local hosts file. - Jörg - To unsubscribe, e-mail:

Re: [VFS][SFTP] cannot connect to SFT server

2008-12-15 Thread Jörg Schaible
lmk wrote at Montag, 15. Dezember 2008 15:55: I passed to the last version of jcraft I get more explicit exception: UnknownHostKey: x.x.x.x. RSA key fingerprint is 0d:51:c6:7f:e1:84:5e:37:8b:93:29:bd:d4:d1:ba:79 how can I verify the host key?? OK, this is really something different.

Re: [VFS][SFTP] cannot connect to SFT server

2008-12-15 Thread Jörg Schaible
Well, lmk wrote at Montag, 15. Dezember 2008 11:35: Hi all, I try vainly to use VFS to connect to SFTP server . I do the same as explained on http://wiki.apache.org/commons/SimpleSftpFileDownload wiki page [snip] Caused by: com.jcraft.jsch.JSchException: UnknownHostKey: x.x.x.x at

Re: [cli] simple Java problem - please, help

2009-02-23 Thread Jörg Schaible
Hi Alex, Alexander Fooks wrote at Montag, 23. Februar 2009 09:48: Hello, All, My application received parameters from the Java command line. Well, first of all you should always prepend the subject of a message posted to this list with the commons module you're talking about. Otherwise

Re: why is my withArgName argument being overwritten

2009-03-26 Thread Jörg Schaible
sagun shakya wrote at Donnerstag, 26. März 2009 02:38: Hi, I have an Option created as: Option fooOption = OptionBuilder.withDescription(add foo) .withLongOpt(add_foo) .hasArgs(2)

Re: [collections] LRUMap Problem ConcurrentModificationException

2009-06-17 Thread Jörg Schaible
Hi Renè, Renè Glanzer wrote at Mittwoch, 17. Juni 2009 09:47: OK so my search will continue :-) Meanwhile I'll consider to change my implementation, which i'd like to prevent. I've reopened COLLECTIONS-3, since I was able to write a unit test that reproduces the problem. Maybe somebody of

Re: [collections] LRUMap Problem ConcurrentModificationException

2009-06-17 Thread Jörg Schaible
Renè Glanzer wrote at Mittwoch, 17. Juni 2009 11:48: Hi Jörg, that are great news, I'll give it a try. And of course I'll report my experience. That would be fine. Actually I opened an own JIRA issue for this now (COLLECTION-330), COLLECTION-3 was simply too vague and had a too long history

Re: [collections] LRUMap Problem ConcurrentModificationException

2009-06-17 Thread Jörg Schaible
Renè Glanzer wrote at Mittwoch, 17. Juni 2009 16:07: Hi, it's me again with an update. the LRUMap.mapIterator() still produces the ConcurrentModificationException when a call to MapIterator.remove() occurs. So did you also try with the entrySet? I've not written a unit test for the

Re: [collections] LRUMap Problem ConcurrentModificationException

2009-06-18 Thread Jörg Schaible
Renè Glanzer wrote at Mittwoch, 17. Juni 2009 20:09: I only gave it a short test. Then i found the MapIterator in the docs an switched to it. The docs stated that MapIterator is the better way than entrySet. Sorry for this, I'm at home right now so i can test it with an entrySet at the

Re: 64bit windows server 2008 OS

2009-08-31 Thread Jörg Schaible
Hi Thanik, Thanikaiarasu wrote: Dear All, I would like to know whether commons-dbcp 1.2.2 and commons-pool 1.4 will work properly in a 64bit windows server 2008 operating system without any issues. Kindly reply and provide any official link for knowing the same. With very view exceptions

Re: Commons-configuration and EasyMock?

2009-09-11 Thread Jörg Schaible
Hi David, David Hoffer wrote at Donnerstag, 10. September 2009 18:07: We have upgraded commons-configuration to version 1.6 (was 1.1) and now I get an this error when we mock something using EasyMock that is hard coded to use commons-configuration to read conf data from file(s).

Re: java.lang.NoSuchMethodError: org.apache.commons.codec.binary.Hex.encodeHexString([B)Ljava/lang/String;

2009-11-16 Thread Jörg Schaible
Java Struts wrote at Montag, 16. November 2009 22:41: Could you please tell me the format of the manifest file? do i have to add every thing in the same line with space as delimiter? http://java.sun.com/javase/6/docs/technotes/guides/jar/jar.html Delimiter is space, line may not exceed 72

Re: how to change log label at the run time

2009-12-10 Thread Jörg Schaible
Hi Vijay, vijay shanker wrote at Freitag, 11. Dezember 2009 07:07: Hi all I am using commons-logging with aspectj. Once I created a log object by below code private Log log = LogFactory.getLog(LoggingAspect.class); When i print log with this object; i get output

Re: FaltFile.jar

2010-01-05 Thread Jörg Schaible
Matt Benson wrote: FWIW, there is a [flatfile] M2 snapshot published at repository.apache.org. Which should be definitely not there! Only official reelases can go to the repository. - Jörg - To unsubscribe, e-mail:

Re: Space or single quote as a value in properties files

2010-02-05 Thread Jörg Schaible
Asterios Katsifodimos wrote: Hi all, I would like to know if there is a way to set the value of a variable (key) to be the space character in a PropertiesConfiguration file. for example variable = could I use the double quotes to do that? Did you try to enter it as Unicode

Re: Serializable alternative to MultiHashMap

2010-03-22 Thread Jörg Schaible
Hi Adelino, Reis Da Rocha, Adelino (NSN - PT/Aveiro) wrote at Wednesday, 17. March 2010 19:28: Hi, I have been using MultiHashMap and according to documentation this objects has been set as deprecated and it is recomended that we use MultiValueMap however MultiValueMap is

RE: Commons Lang ToStringBuilder.reflectionToString / Hibernate question

2010-04-13 Thread Jörg Schaible
Gary Gregory wrote: You are correct. However, you have to consider, that CGLIB adds itself some stuff to the class that will be catched then ... :-) - Jörg - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For

Re: [LANG] incompatibility of jar with svn

2010-04-15 Thread Jörg Schaible
Hi Tom, Tom Brito wrote: But the new svn trunk don't have the lang package, just the lang3. So the code that depends on the old stuff don't work. The new stuff in 3.x is not binary compatible either. You have to adjust your code in any case, if you want to use it. - Jörg

Re: [LANG] incompatibility of jar with svn

2010-04-15 Thread Jörg Schaible
Tom Brito wrote: The trunk and the jar have are different from each other. They aren't suppose to be the same code? No. A released jar refers always a special tag in Subversion. And the Branches be the variants (not the Trunk)? Branches are different code lines. There is currently a branch

Re: [jexl] custom expressions / registering functions

2010-05-25 Thread Jörg Schaible
Adrian Herscu wrote: Hi all, I am looking for an expression language to using in a testing framework that I am designing. The requirement is that the users of the framework are allowed to define their own functions. I could not find it possible to add a function to a JEXL context. Is

Re: How can I get Commons-net-2.1 Source and Binaries

2010-10-14 Thread Jörg Schaible
陳雪傑 wrote: Hi all How can I get Commons-net-2.1 Source and Binaries? I want get publiced Commons-net-2.1 Source and Binaries from apache, but the page (http://commons.apache.org/net/download_net.cgi) do not provide it. You cannot, since it was never officially released. So, yes, there

RE: How can I get Commons-net-2.1 Source and Binaries

2010-10-15 Thread Jörg Schaible
陳雪傑 wrote: Hi Jörg You cannot, since it was never officially released. So, yes, there is a tag in Subversion, but nobody knows, who spread it into public, what it actually contains and you're on your own using this code. Therefore you cannot download any binaries or tar balls, it has

RE: Commons Configuration 1.7

2010-11-17 Thread Jörg Schaible
Hi Patel, Patel, Ronak Avinash (US SSA) wrote: Any ideas when VFS will be released? I was under the impression that it was all patched and ready to go... It's actively worked on. Since it was not binary compatible to the last version and it is the first major release since years, we decided

Re: [vfs]

2011-01-18 Thread Jörg Schaible
Hi Anand, Joshi, Anand wrote: Hi All: Mylogin has the '@' when I am using Apache VFS to FTP files. Is this supported while formatting the URL string ? Something like ftp://a...@xyz.com:somepassword@server/path/file You have to URL-encode your '@' character. - Jörg

[SURVEY] Android users wanted

2011-01-31 Thread Jörg Schaible
Guys, can somebody tell us, what the different Android versions return for the java.version and java.specification.version? - Jörg - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands,

Re: [vfs] Where is version 1.1?

2011-02-07 Thread Jörg Schaible
Hi Rogelio, Rogelio Flores wrote: I have an app where a previous developer--no longer here--added commons-vfs-1.1.jar to our dependencies. I'd like to get the source code for this but the download site lists 1.0 as the latest official download (http://commons.apache.org/vfs/download_vfs.cgi)

Re: [Configuration] Is there any way to save my complex bean in XML resource and use it later ?

2011-02-16 Thread Jörg Schaible
Hi Moein, Moein Enayati wrote: Dear all Hi Till now ,whenever I want to use Apache.Commons.Configuration API with an XML file , I’ve written down myBeans definition manually in XML resource. But now I have a new demand to use complex beans with complex property types and the ability

Re: [configuration] Testing against commons-lang 2.5 and 2.6

2011-02-16 Thread Jörg Schaible
Holmes, Daniel wrote: Is this project tested (or planned to be) against the latest releases of commons-lang According to this page it has not been yet http://commons.apache.org/configuration/dependencies.html Gump runs against lang 2.x trunk without problems. - Jörg

Re: [io] Tailer returning partial lines returned when EOF before newline

2011-05-25 Thread Jörg Schaible
Hi, Simone Tripodi wrote: Great, that's the way to go, well done and thanks for your contribution! actually I think, it's not the way to go. The Javadoc in the patch implies that Frank simply took the code from the JDK and adjusted it a bit. This is not possible! We cannot simply relicense

Re: [Javaflow]java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter.init(ZZ)V

2011-06-07 Thread Jörg Schaible
Hi, wayne wrote: Hi All: I use [javaflow] Ant task with ASM transformer but it still terminates with java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter.init(ZZ)V Torsten mentioned the solution as follow: (http://mail-archives.apache.org/mod_mbox/commons-

Re: [Javaflow]java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter.init(ZZ)V

2011-06-07 Thread Jörg Schaible
wayne wrote: I look up the source code of AssertionViolatedException the reason is :Instances of this class should never be thrown. When such an instance is thrown, * this is due to an INTERNAL ERROR of BCEL's class file verifier about java.lang.NoSuchMethodError:

Re: [Javaflow]java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter.init(ZZ)V

2011-06-08 Thread Jörg Schaible
Hi Wayne, wayne wrote: Jörg wrote: You have other ASM classes on the classpath or you're using some code that depends on a different version. even I delete all jar about asm on classpath You're never explicit in your explanations. What does this mean now? Again, what *is* on your

Re: [Javaflow]java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter.init(ZZ)V

2011-06-08 Thread Jörg Schaible
Hi Wayne, wayne wrote: I list my classpath info as follow: ?xml version=1.0 encoding=UTF-8? classpath classpathentry kind=src path=src/java/ classpathentry kind=src path=src/resources/ classpathentry kind=con path=org.eclipse.jdt.launching.JRE_CONTAINER/ classpathentry

Re: [Javaflow]java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter.init(ZZ)V

2011-06-08 Thread Jörg Schaible
Hi Wayne, wayne wrote: Jörg. Thank you for your comments there is Ant Build content including classpath definition: project name='JPPF-Node' default=run basedir=. [snip] !-- = -- !--

Re: Zip64 support

2011-07-20 Thread Jörg Schaible
Stefan Bodewig wrote: On 2011-07-20, Chris Bamford wrote: Can someone please tell me the status of Zip64 support in commons:compress? No support at all, sorry. I read that it was supposed to go into 1.1, but I don't know how to tell. The people (myself included) who thought they

Re: [ANNOUNCEMENT] Commons Configuration 1.7 Released

2011-09-08 Thread Jörg Schaible
Jesse Farinacci wrote: Congratulations! On Thu, Sep 8, 2011 at 7:45 AM, Oliver Heger ohe...@apache.org wrote: The Apache Commons team is pleased to announce the availability of Commons Configuration 1.7. Only 33 months since the previous release.. ;-) Means that for an earlier release

Re: [io] Should FileUtils.writeByteArrayToFile(...) not use a BufferedOutputStream?

2011-09-25 Thread Jörg Schaible
Hi Timo, Timo Rumland wrote: Hello everyone, sorry to bump this, but does anyone not have a comment to my question? I really think I missed something, I can't imagine that the Commons IO forgot to buffer the bytes that should be written to a file. Please see my original question below.

Re: [configuration] Common-configuration is not compatible with apache-lang-3.X

2011-12-08 Thread Jörg Schaible
Hi Ivan, Ivan Boelle wrote: Hello, We recently upgraded our apache-common-lang library from 2.4 to 3. But some classes of apache-common-configuration rely on classes that are not part of apache-common-lang anymore. c-lang and c-lang3 are designed to be used side-by-side, since they are

Re: commons vfs with http

2011-12-19 Thread Jörg Schaible
William Speirs wrote: There is no commons http-client, It is, that's version 3.x it is called http components now: http://hc.apache.org/ That's version 4.x and it is API-wise something different. vfs uses http- client 3.x. - Jörg

Re: [io] org.apache.commons.io.ThreadMonitor.class ?

2012-03-28 Thread Jörg Schaible
Hi Steve, Steve Cohen wrote: Someone has suggested that our team look at the Apache Thread Monitor as a way of timing out some classes that don't natively support timeouts. In investigating this using the Google, I find references such as this:

getservbyname

2012-04-02 Thread Jörg Schaible
Guys, do we have somewhere an equivalent for the C system call getservbyname in commons? - Jörg - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org

Re: getservbyname

2012-04-02 Thread Jörg Schaible
Hi Emmanuel, Emmanuel Bourg wrote: Le 02/04/2012 16:41, Jörg Schaible a écrit : do we have somewhere an equivalent for the C system call getservbyname in commons? You mean something that map a service name (http, ssh) to a port number (80, 22) ? Right. Best would be a system call

Re: getservbyname

2012-04-02 Thread Jörg Schaible
Hi Emmanual, Emmanuel Bourg wrote: Le 02/04/2012 18:13, Jörg Schaible a écrit : Right. Best would be a system call, but I can also live with some functionality that parses the etc/services in Linux/Windows directly. For support in the Java runtime I only found a 15 year old enhancement

Re: Class org.apache.commons.logging.impl.SimpleLog does not implement Log

2013-02-27 Thread Jörg Schaible
Hi Paul, Schuetz, Paul (EXTERN: DOS) wrote: Hello, I am trying to get up and running a simple application under an IBM WAS 8.0. My application consist of an simple jsf file and a bean used as an actionlistener for a button inside the jsf. On pushing the button the bean should just log

Re: [FTPSclient] FTPS Authentication using client Certificate / public key

2013-11-06 Thread Jörg Schaible
Hi Michael, Seganti, Michael wrote: I'm attempting to connect via FTPS to one of our clients. We provided them a public SSL key for authorization for their server. How can I perform authentication of the FTP user (as in FTP login, not just SSL negotiation/validation) by supplying a client

Re: [collections] Problems compiling w/gentoo

2014-04-25 Thread Jörg Schaible
sebb wrote: On 24 April 2014 19:29, Gary Gregory garydgreg...@gmail.com wrote: Should we fix 3.x for Java 8 and release? The fix works by renaming a public method so IMO is not appropriate for 3.x. It would break any existing code that used the remove method, requiring the user to edit

Re: [lang] SystemUtils and Cygwin

2015-01-01 Thread Jörg Schaible
Hi Paulo, Paulo Roberto Massa Cereda wrote: Dear friends, I have to execute a certain system command according to the underlying operating system; so far, SystemUtils works like a charm. But now I'm facing a quite peculiar situation: I'd need to run a different code if my Java application

Re: Re: [POOL2] Pooling mutable objects

2015-02-06 Thread Jörg Schaible
Hi William, William Speirs wrote: I'm not sure I understand your comment Mat. From what I can tell, Michael made his own hash function. That's fine, but *might* have unexpected collision issues. Might not too... I don't know. My guess though is that he's not an expert (who is an expert on

Re: [lang] StrSubstitutor - a dollar sign before a variable

2015-07-23 Thread Jörg Schaible
Hi Woonsan, Woonsan Ko wrote: Hi there, I tried to use the following, expecting ...ick brown fox paid $20.00 to jump over the la…: // In org.apache.commons.lang3.text.StrSubstitutorTest.java locally // after cloning https://github.com/woonsan/commons-lang. @Test public

Re: Commons Lang substitution

2015-11-16 Thread Jörg Schaible
Benedikt Ritter wrote: > Hello, > > 2015-11-14 22:25 GMT+01:00 Anthony Brice : > >> I could be wrong, but I do believe StrSubstitor requires a prefix and >> suffix. I don't think the class will replace variables that aren't in the >> map either, unless you write a

Re: Commons Lang substitution

2015-11-17 Thread Jörg Schaible
Alex Soto wrote: > Hi, thank you for your answers, Jörg I think that StrMatcher is for > implementing where you want to get information to be replaced on the > string, not for parsing issues. Instead of guessing, I'd rather have a look into the Javadocs of StrSubstitutor. Cheers, Jörg

Re: [configuration] is common-configuration affected by COLLECTIONS-580

2015-11-18 Thread Jörg Schaible
Hi Joël, Joël Traber wrote: > Hi guys, > > I am running an application working with commons-configuration version 1.6 > I just noticed a bug in > commons-collection.

Re: [configuration] Will the jar be available in maven repo

2016-04-07 Thread Jörg Schaible
Mansour Al Akeel wrote: > I am wondering if there's any plan to make Apache commons > configuration 2.X available in maven repo. > > If it's already available, please direct me to where I can pull it. > > Thank you

Re: [configuration2]: AbstractConfiguration::getArray

2016-04-29 Thread Jörg Schaible
Hi Oliver, Oliver Heger wrote: > Hi Jörg, > > Am 28.04.2016 um 16:34 schrieb Jörg Schaible: >> Chas Honton wrote: >> >>> Try casting Object[] to long[]. The compiler and the runtime will >>> complain. >> >> It is not about a cast, it's about

Re: [configuration2]: AbstractConfiguration::getArray

2016-04-28 Thread Jörg Schaible
27, 2016, at 11:59 PM, Jörg Schaible >> <joerg.schai...@bpm-inspire.com> wrote: >> >> Hi Oliver, >> >> Oliver Heger wrote: >> >>> Hi Rainer, >>> >>>> Am 27.04.2016 um 21:22 schrieb Rainer Hirschmiller: >>>>

Re: [configuration2]: AbstractConfiguration::getArray

2016-04-28 Thread Jörg Schaible
Hi Oliver, Oliver Heger wrote: > Hi Rainer, > > Am 27.04.2016 um 21:22 schrieb Rainer Hirschmiller: >> Hi. >> >> I wonder why AbstractConfiguration::getArray(cls, key) returns a single >> object, not an array of objects? Can somebody explain why the caller >> have to make an explicit cast? >>

Re: [configuration2]: AbstractConfiguration::getArray

2016-04-29 Thread Jörg Schaible
c...@honton.org wrote: > Jorge, > > You could create a different named method for each primitive array > type. Would be a pain to use in a generic fashion. [snip] I agree with a method returning explicitly an array, but that has been nonsense in first place. As I already pointed out, the

Re: [configuration2]: AbstractConfiguration::getArray

2016-05-02 Thread Jörg Schaible
Oliver Heger wrote: > > > > Am 29.04.2016 um 20:36 schrieb Jörg Schaible: >> c...@honton.org wrote: >> >>> Jorge, >>> >>> You could create a different named method for each primitive array >>> type. Would be a pain to use in a gen

Re: [ANNOUNCE] Apache Commons JCS 2.0-beta-2 Released

2016-11-16 Thread Jörg Schaible
Tim Cronin wrote: > doesn't show up in the main maven repo the listings > > http://mvnrepository.com/artifact/org.apache.commons/commons-jcs-core Ask the owner of that site. The link below points to central and that's the only official Maven repository (searchable using

Re: Apache's Maven repository missing commons-io, most versions

2017-03-30 Thread Jörg Schaible
sebb wrote: > On 30 March 2017 at 16:29, Matt Sicker wrote: >> A lot of old artifacts uses the groupId == artifactId convention. I don't >> know when that changed to using org.apache.foo as the groupId, but I'm >> guessing it was sometime around the advent of Maven Central. >