comparison src/org/tmatesoft/hg/repo/HgWorkingCopyStatusCollector.java @ 613:f41dd9a3b8af v1.1m4

Remove few Experimental annotations as the API they've marked graduates
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Fri, 10 May 2013 17:31:27 +0200
parents e1b29756f901
children 6526d8adbc0f
comparison
equal deleted inserted replaced
612:dca70c0b1f74 613:f41dd9a3b8af
32 import java.util.TreeSet; 32 import java.util.TreeSet;
33 33
34 import org.tmatesoft.hg.core.Nodeid; 34 import org.tmatesoft.hg.core.Nodeid;
35 import org.tmatesoft.hg.core.SessionContext; 35 import org.tmatesoft.hg.core.SessionContext;
36 import org.tmatesoft.hg.internal.ByteArrayChannel; 36 import org.tmatesoft.hg.internal.ByteArrayChannel;
37 import org.tmatesoft.hg.internal.Experimental;
38 import org.tmatesoft.hg.internal.FilterByteChannel; 37 import org.tmatesoft.hg.internal.FilterByteChannel;
39 import org.tmatesoft.hg.internal.Internals; 38 import org.tmatesoft.hg.internal.Internals;
40 import org.tmatesoft.hg.internal.ManifestRevision; 39 import org.tmatesoft.hg.internal.ManifestRevision;
41 import org.tmatesoft.hg.internal.PathPool; 40 import org.tmatesoft.hg.internal.PathPool;
42 import org.tmatesoft.hg.internal.PathScope; 41 import org.tmatesoft.hg.internal.PathScope;
331 * 330 *
332 * @param fname repository-relative path to the file in question 331 * @param fname repository-relative path to the file in question
333 * @param fileInfo file content mediator 332 * @param fileInfo file content mediator
334 * @return <code>true</code> when content in working dir differs from that of manifest-recorded revision 333 * @return <code>true</code> when content in working dir differs from that of manifest-recorded revision
335 */ 334 */
336 @Experimental(reason="Perhaps, HgDataFile#isWorkingCopyChanged() would be better - no need to pass any arguments?")
337 public boolean hasTangibleChanges(Path fname, FileInfo fileInfo) throws HgRuntimeException { 335 public boolean hasTangibleChanges(Path fname, FileInfo fileInfo) throws HgRuntimeException {
338 // see #checkLocalStatusAgainstFile() below for the origin of changed file check 336 // see #checkLocalStatusAgainstFile() below for the origin of changed file check
339 HgDataFile df = repo.getFileNode(fname); 337 HgDataFile df = repo.getFileNode(fname);
340 if (!df.exists()) { 338 if (!df.exists()) {
341 throw new HgInvalidFileException("File not found", null).setFileName(fname); 339 throw new HgInvalidFileException("File not found", null).setFileName(fname);