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 39971 - Sharability Query Usage
Summary: Sharability Query Usage
Status: RESOLVED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcscore (show other bugs)
Version: 4.x
Hardware: PC All
: P1 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks: 39561
  Show dependency tree
 
Reported: 2004-02-11 16:02 UTC by Richard Gregor
Modified: 2004-08-13 12:12 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Gregor 2004-02-11 16:02:32 UTC
We need to use Sharebility Query to recognize
which files have to be versioned.
Comment 1 Richard Gregor 2004-02-16 08:16:40 UTC
SharabilityQuery is quite simple. Contains only two methods. According
to Martin Entlicher's proposal there might be patterns usage considered. 
Comment 2 Martin Entlicher 2004-04-27 15:43:47 UTC
The SharabilityQuery is used instead of important flag provided to
FileSystem through markUnimportant() and markImportant() methods.
FileObjectImportantness interface removed, since it's not necessary
any more. Also VCS actions are not presented on not-sharable files and
folders, unless "process all files" property is set.

Fixed in trunk:

/cvs/vcscore/src/org/netbeans/modules/vcscore/DefaultVcsFactory.java,v
 <--  DefaultVcsFactory.java
new revision: 1.18; previous revision: 1.17

Checking in VcsFileSystem.java;
/cvs/vcscore/src/org/netbeans/modules/vcscore/VcsFileSystem.java,v 
<--  VcsFileSystem.java
new revision: 1.258; previous revision: 1.257

Removing FileObjectImportantness.java;
/cvs/vcscore/src/org/netbeans/modules/vcscore/FileObjectImportantness.java,v
 <--  FileObjectImportantness.java
new revision: delete; previous revision: 1.1

Checking in cache/CacheReference.java;
/cvs/vcscore/src/org/netbeans/modules/vcscore/cache/CacheReference.java,v
 <--  CacheReference.java
new revision: 1.10; previous revision: 1.9

Checking in objectintegrity/VcsObjectIntegritySupport.java;
/cvs/vcscore/src/org/netbeans/modules/vcscore/objectintegrity/VcsObjectIntegritySupport.java,v
 <--  VcsObjectIntegritySupport.java
new revision: 1.15; previous revision: 1.14
done