This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 44775 - check for final / in URL consistently
Summary: check for final / in URL consistently
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks: 41535
  Show dependency tree
 
Reported: 2004-06-11 20:34 UTC by Pavel Buzek
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Buzek 2004-06-11 20:34:08 UTC
This issues is in ant/freeform (java part) and
Jesse asked me to file it here.

The problem is that toURL appends / for existing
folders but not for non-existing. Some code in
ant/freeform appends / to non existen and some
does not - this should be consistent.

you should also check the final "/" for the
parameter in:
    public synchronized
SourceForBinaryQuery.Result findSourceRoots(URL
binaryRoot) {
Comment 1 Tomas Zezula 2004-06-11 21:34:58 UTC
Ok, I will add an assertion there.
Comment 2 Tomas Zezula 2004-06-16 14:36:55 UTC
Checking in
api/src/org/netbeans/api/java/queries/SourceForBinaryQuery.java;
/cvs/java/api/src/org/netbeans/api/java/queries/SourceForBinaryQuery.java,v
 <--  SourceForBinaryQuery.java
new revision: 1.7; previous revision: 1.6
done
Processing log script arguments...
More commits to come...
Checking in
j2seplatform/src/org/netbeans/modules/java/j2seplatform/platformdefinition/Util.java;
/cvs/java/j2seplatform/src/org/netbeans/modules/java/j2seplatform/platformdefinition/Util.java,v
 <--  Util.java
new revision: 1.11