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.
Summary: | VcsFileSystem.getFile(String) too slow | ||
---|---|---|---|
Product: | obsolete | Reporter: | Jesse Glick <jglick> |
Component: | vcscore | Assignee: | Martin Entlicher <mentlicher> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | Keywords: | PERFORMANCE |
Priority: | P3 | ||
Version: | 4.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Jesse Glick
2004-09-08 19:33:15 UTC
You're right, that it's perhaps not necessary to normalize file from getFile(). This was done so that it's assured at a single place that all clients get normalized file. However, you're right that not all clients need to have the file normalized. I'll look at it and try to optimize... Fixed. VcsFileSystem.getFile() does not return normalized file, the normalization is done where necessary (hopefully all cases are covered): /cvs/vcscore/src/org/netbeans/modules/vcscore/VcsAttributes.java,v <-- VcsAttributes.java new revision: 1.39; previous revision: 1.38 /cvs/vcscore/src/org/netbeans/modules/vcscore/VcsFileSystem.java,v <-- VcsFileSystem.java new revision: 1.308; previous revision: 1.307 /cvs/vcscore/src/org/netbeans/modules/vcscore/cmdline/UserCommandSupport.java,v <-- UserCommandSupport.java new revision: 1.55; previous revision: 1.54 /cvs/vcscore/src/org/netbeans/modules/vcscore/cmdline/UserCommandTask.java,v <-- UserCommandTask.java new revision: 1.35; previous revision: 1.34 /cvs/vcscore/src/org/netbeans/modules/vcscore/turbo/local/FileAttributeQuery.java,v <-- FileAttributeQuery.java new revision: 1.4; previous revision: 1.3 |