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: | Exception thrown when there is a backup file with a name starting with E | ||
---|---|---|---|
Product: | versioncontrol | Reporter: | akochnev <akochnev> |
Component: | ClearCase | Assignee: | issues@versioncontrol <issues> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | ||
Priority: | P1 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
akochnev
2008-02-20 14:48:10 UTC
I really tried exporting a patch just for this file through NetBeans, but I'm totally baffled on how to do that, I get an export diff on a whole bunch of files that I don't care about. I would appreciate a tip on how to export a diff for a single file.. Anyway.. the fix is to replace : private static Pattern toPattern(File file) { String filePath = file.getAbsolutePath(); return Pattern.compile("\\Q" + filePath + "\\E"); } with private static Pattern toPattern(File file) { String filePath = file.getAbsolutePath(); return Pattern.compile(Pattern.quote(filePath)); } And the exception disappears. Fixing pattern conversion, thanks for the patch. 4ef4926c746c |