Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Eric Sosman Newsgroups: comp.lang.java.programmer Subject: Re: A strange behaviour of a File property Date: Sat, 12 Nov 2011 10:13:48 -0500 Organization: A noiseless patient Spider Lines: 17 Message-ID: References: <5980efbc-9010-4145-b886-fe106c5ac2d5@c18g2000yqj.googlegroups.com><2735801.801.1321025690138.JavaMail.geo-discussion-forums@prdy11> <13969500.491.1321049846293.JavaMail.geo-discussion-forums@prou19> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sat, 12 Nov 2011 15:13:50 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="HSlJAUb3pGXi3i7ZL/HoAw"; logging-data="10996"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19DdABTw8CGOvF5o8SOM+m/" User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:8.0) Gecko/20111105 Thunderbird/8.0 In-Reply-To: Cancel-Lock: sha1:0eH5raNzH1FmxVwFTe3DKL/TMI0= Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:9882 On 11/12/2011 10:17 AM, Alexo wrote: > hei Eric your code works, but where is the trouble in mine? No idea. You've shown us part (well, most) of your code, but you haven't given a description of how you've used it. You've said things like "try to change the path" and "when I try to change the path," but that's not precise enough to allow me or someone else to duplicate your actions. Observe an important difference between my example and yours: Yours is "Here's the code, but you'll need instructions for running it," while mine is "Here's the code, entirely self-contained." Do you see why one is easier to diagnose than the other? -- Eric Sosman esosman@ieee-dot-org.invalid